removed extra comma

This commit is contained in:
Luis Ángel San Martín 2016-01-24 10:45:07 +01:00
parent b8031268d0
commit 37d177e65a

View File

@ -195,8 +195,13 @@ bool DataBaseManagement::createTables(QSqlDatabase & database)
//new 7.1 fields
"finished BOOLEAN DEFAULT 0," //reading
"completed BOOLEAN DEFAULT 1," //collecting
//--
"FOREIGN KEY(parentId) REFERENCES folder(id) ON DELETE CASCADE)");
//new 8.6 fields
"numChildren INTEGER,"
"firstChildId INTEGER,"
"customImage TEXT,"
"FOREIGN KEY(parentId) REFERENCES folder(id) ON DELETE CASCADE), "
//8.6
"FOREIGN KEY(firstChildId) REFERENCES comic_info(id))");
success = success && queryFolder.exec();
//COMIC (representa un cómic en disco, contiene el nombre de fichero)