Changeset 761 for trunk/Common/Setup/Updates.php
- Timestamp:
- Nov 4, 2015, 9:00:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Updates.php
r759 r761 1583 1583 $Manager->Execute('ALTER TABLE `Scheduler` ADD `Duration` INT NOT NULL AFTER `Period`;'); 1584 1584 } 1585 1586 /* 1587 function UpdateTo761($Manager) 1588 { 1589 $Manager->Execute('INSERT INTO `MACAddress` (SELECT "" AS `Id`,`MAC` AS `Value` FROM `NetworkSignal` GROUP BY `MAC`)'); 1590 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD `Address` INT NOT NULL AFTER `MAC`;'); 1591 $Manager->Execute('UPDATE `NetworkSignal` SET `Address`=(SELECT `Id` FROM `MACAddress` WHERE `MACAddress`.`Value`=`NetworkSignal`.`MAC`)'); 1592 } 1593 */ 1585 1594 1586 1595 class Updates
Note:
See TracChangeset
for help on using the changeset viewer.