From 224d6b313acf206e754e8ca1678893c387074be9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 13 Apr 2018 17:38:34 +0300 Subject: [PATCH] Fix(db): Filenames can be non-ascii --- m_librarian/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5