Changeset 736 for trunk/Common/Setup/Updates.php
- Timestamp:
- Apr 6, 2015, 11:08:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Updates.php
r735 r736 1330 1330 1, '.$ActionId.', "", NULL, "", 5);'); 1331 1331 $Manager->Execute('ALTER TABLE `Scheduler` CHANGE `ScheduledTime` `ScheduledTime` DATETIME NULL;'); 1332 } 1333 1334 function UpdateTo736($Manager) 1335 { 1336 $Manager->Execute('CREATE TABLE IF NOT EXISTS `NetworkLinkType` ( 1337 `Id` int(11) NOT NULL, 1338 `Name` varchar(255) NOT NULL 1339 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 1340 1341 $Manager->Execute('ALTER TABLE `NetworkLinkType` ADD PRIMARY KEY (`Id`);'); 1342 1343 $Manager->Execute('ALTER TABLE `NetworkLinkType` 1344 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;'); 1332 1345 } 1333 1346 … … 1397 1410 730 => array('Revision' => 731, 'Function' => 'UpdateTo731'), 1398 1411 731 => array('Revision' => 735, 'Function' => 'UpdateTo735'), 1412 735 => array('Revision' => 736, 'Function' => 'UpdateTo736'), 1399 1413 )); 1400 1414 }
Note:
See TracChangeset
for help on using the changeset viewer.