Ignore:
Timestamp:
01/28/10 13:43:19 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
8cb5c4f
Parents:
438699c
Message:

some 'delegate' drawing optimizations

  • removed EVENT_CONFLICT table - used one SQL SELECT instead
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.cpp

    r438699c r412cef6  
    152152    }
    153153}
    154 
    155154
    156155void SqlEngine::addPersonToDB(QHash<QString,QString> &aPerson)
     
    290289            "FOREIGN KEY(xid_room) REFERENCES ROOM(id));");
    291290
    292         query.exec("CREATE TABLE EVENT_CONFLICT ( "
    293             "xid_conference INTEGER NOT NULL, "
    294             "xid_event INTEGER NOT NULL, "
    295             "conflict_event INTEGER NOT NULL, "
    296             "UNIQUE ( xid_conference, xid_event, conflict_event ) ON CONFLICT IGNORE, "
    297             "FOREIGN KEY(xid_conference) REFERENCES CONFERENCE(id), "
    298             "FOREIGN KEY(xid_event) REFERENCES EVENT(id));");
    299 
    300291        query.exec("CREATE TABLE LINK ( "
    301292            "id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "
Note: See TracChangeset for help on using the changeset viewer.