Ignore:
Timestamp:
Apr 6, 2015, 11:08:10 PM (10 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Setup/Updates.php

    r735 r736  
    13301330                1, '.$ActionId.', "", NULL, "", 5);');
    13311331        $Manager->Execute('ALTER TABLE `Scheduler` CHANGE `ScheduledTime` `ScheduledTime` DATETIME NULL;');
     1332}
     1333
     1334function 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`
     1344MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;');
    13321345}
    13331346
     
    13971410        730 => array('Revision' => 731, 'Function' => 'UpdateTo731'),
    13981411        731 => array('Revision' => 735, 'Function' => 'UpdateTo735'),
     1412        735 => array('Revision' => 736, 'Function' => 'UpdateTo736'),
    13991413    ));
    14001414  }
Note: See TracChangeset for help on using the changeset viewer.