Changeset 20 for trunk/Forms/UMainForm.pas
- Timestamp:
- Jun 15, 2011, 11:11:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r19 r20 361 361 end; 362 362 363 if Tables.IndexOf(TypeDateTime) = -1 then begin 364 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + TypeDateTime + '` ( ' + 365 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 366 '`CustomType` int NOT NULL,' + 367 '`Default` datetime NOT NULL,' + 368 '`Min` datetime NOT NULL,' + 369 '`Max` datetime NOT NULL,' + 370 'KEY `CustomType` (`CustomType`),' + 371 'PRIMARY KEY (`Id`)' + 372 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 373 end; 374 363 375 if Tables.IndexOf(TypeString) = -1 then begin 364 376 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + TypeString + '` ( ' +
Note:
See TracChangeset
for help on using the changeset viewer.