added DataIndexes to ItemList classes

This commit is contained in:
Luis Ángel San Martín
2014-12-18 20:26:06 +01:00
parent c4022cf9bd
commit e576bebc2a
4 changed files with 70 additions and 28 deletions

View File

@ -228,7 +228,10 @@ bool DataBaseManagement::createV8Tables(QSqlDatabase &database)
//8.0> tables
//LABEL
QSqlQuery queryLabel(database);
queryLabel.prepare("CREATE TABLE label (id INTEGER PRIMARY KEY, name TEXT NOT NULL, color TEXT NOT NULL, ordering INTEGER NOT NULL)"); //order depends on the color
queryLabel.prepare("CREATE TABLE label (id INTEGER PRIMARY KEY, "
"name TEXT NOT NULL, "
"color TEXT NOT NULL, "
"ordering INTEGER NOT NULL)"); //order depends on the color
success = success && queryLabel.exec();
//COMIC LABEL