From: Oleg Broytman Date: Fri, 13 Apr 2018 14:38:34 +0000 (+0300) Subject: Fix(db): Filenames can be non-ascii X-Git-Tag: 0.1.0~10 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=224d6b313acf206e754e8ca1678893c387074be9;p=m_librarian.git Fix(db): Filenames can be non-ascii --- diff --git a/m_librarian/db.py b/m_librarian/db.py index 9ae5ce0..fc3325f 100755 --- a/m_librarian/db.py +++ b/m_librarian/db.py @@ -53,7 +53,7 @@ class Book(SQLObject): series = UnicodeCol(notNull=True) ser_no = IntCol() archive = StringCol(notNull=True) - file = StringCol(notNull=True) + file = UnicodeCol(notNull=True) size = IntCol(notNull=True) lib_id = StringCol(notNull=True) deleted = BoolCol(notNull=True)