Changeset 676 for trunk/Common/Setup/Updates.php
- Timestamp:
- Jul 22, 2014, 10:25:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Updates.php
r674 r676 840 840 } 841 841 842 function UpdateTo676($Manager) 843 { 844 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD `Device` INT NULL , 845 ADD INDEX ( `Device` ) ;'); 846 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD FOREIGN KEY ( `Device` ) REFERENCES `centrala_big`.`NetworkDevice` ( 847 `Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;'); 848 } 849 842 850 class Updates 843 851 { … … 885 893 668 => array('Revision' => 671, 'Function' => 'UpdateTo671'), 886 894 671 => array('Revision' => 674, 'Function' => 'UpdateTo674'), 895 674 => array('Revision' => 676, 'Function' => 'UpdateTo676'), 887 896 )); 888 897 }
Note:
See TracChangeset
for help on using the changeset viewer.