Changeset 98 for trunk/Modules/ZdechovNET/UModuleZdechovNET.pas
- Timestamp:
- Oct 2, 2012, 12:24:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/UModuleZdechovNET.pas
r97 r98 146 146 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;'); 147 147 148 Core.CommonDatabase.Query(DbRows, 149 'CREATE TABLE IF NOT EXISTS `HostedProject` (' + 150 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + 151 ' `Name` varchar(255) COLLATE utf8_czech_ci NOT NULL,' + 152 ' `Homepage` varchar(255) COLLATE utf8_czech_ci NOT NULL,' + 153 ' `User` int(255) NOT NULL COMMENT "User.Id",' + 154 ' `TimeCreate` datetime NOT NULL,' + 155 ' `Server` int(11) DEFAULT NULL COMMENT "NetworkDevice.Id",' + 156 ' `Active` int(11) NOT NULL DEFAULT "1",' + 157 ' `WebHosting` int(11) NOT NULL,' + 158 ' PRIMARY KEY (`Id`)' + 159 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;'); 160 148 161 finally 149 162 Data.Free; … … 161 174 try 162 175 DbRows := TDbRows.Create; 176 Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `HostedProject`'); 163 177 Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Plans`'); 164 178 Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Webcam`');
Note:
See TracChangeset
for help on using the changeset viewer.