Fix library creation on 9.8.0 by adding missing manga field to folder

This commit is contained in:
Luis Ángel San Martín 2021-05-08 15:21:30 +02:00
parent 5f3824ff3c
commit c3a99b19a5

View File

@ -203,6 +203,8 @@ bool DataBaseManagement::createTables(QSqlDatabase &database)
"numChildren INTEGER,"
"firstChildHash TEXT,"
"customImage TEXT,"
//new 9.8 fields
"manga BOOLEAN DEFAULT 0,"
"FOREIGN KEY(parentId) REFERENCES folder(id) ON DELETE CASCADE)");
success = success && queryFolder.exec();