Changeset 591 for trunk/Modules/Setup/Updates.php
- Timestamp:
- Nov 2, 2013, 3:54:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Setup/Updates.php
r590 r591 441 441 } 442 442 443 function UpdateTo591($Manager) 444 { 445 $Manager->Execute('ALTER TABLE `StockItem` ADD `Esemble` INT NULL , 446 ADD INDEX ( `Esemble` ) ;'); 447 $Manager->Execute('ALTER TABLE `StockItem` ADD FOREIGN KEY ( `Esemble` ) REFERENCES StockItem` ( 448 `Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;'); 449 } 450 443 451 class Updates 444 452 { … … 468 476 571 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 469 477 574 => array('Revision' => 584, 'Function' => 'UpdateTo584'), 478 584 => array('Revision' => 591, 'Function' => 'UpdateTo591'), 470 479 )); 471 480 }
Note:
See TracChangeset
for help on using the changeset viewer.