X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/438699c9c023a61e208699e4fdfcb02885766269..412cef6f84e31a76b3efd69e64fe83400c8ed8d0:/src/sql/sqlengine.cpp diff --git a/src/sql/sqlengine.cpp b/src/sql/sqlengine.cpp index ea56d7a..fcaceb2 100644 --- a/src/sql/sqlengine.cpp +++ b/src/sql/sqlengine.cpp @@ -152,7 +152,6 @@ void SqlEngine::addEventToDB(QHash &aEvent) } } - void SqlEngine::addPersonToDB(QHash &aPerson) { QSqlDatabase db = QSqlDatabase::database(); @@ -289,14 +288,6 @@ bool SqlEngine::createTables(QSqlDatabase &aDatabase) "FOREIGN KEY(xid_event) REFERENCES EVENT(id), " "FOREIGN KEY(xid_room) REFERENCES ROOM(id));"); - query.exec("CREATE TABLE EVENT_CONFLICT ( " - "xid_conference INTEGER NOT NULL, " - "xid_event INTEGER NOT NULL, " - "conflict_event INTEGER NOT NULL, " - "UNIQUE ( xid_conference, xid_event, conflict_event ) ON CONFLICT IGNORE, " - "FOREIGN KEY(xid_conference) REFERENCES CONFERENCE(id), " - "FOREIGN KEY(xid_event) REFERENCES EVENT(id));"); - query.exec("CREATE TABLE LINK ( " "id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " "xid_conference INTEGER NOT NULL, "