Changeset 494 for trunk/admin/Updates.php
- Timestamp:
- Mar 1, 2013, 10:44:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/Updates.php
r493 r494 6 6 } 7 7 8 function UpdateTo494($Manager) 9 { 10 $Manager->Execute("ALTER TABLE `FinanceOperation` DROP FOREIGN KEY `FinanceOperation_ibfk_2` ;\n". 11 "ALTER TABLE `FinanceOperation` CHANGE `Bill` `File` INT( 11 ) NULL DEFAULT NULL;\n". 12 "ALTER TABLE `FinanceOperation` ADD FOREIGN KEY ( `File` ) REFERENCES `File` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;"); 13 } 14 15 16 8 17 $Updates = array( 9 18 491 => array('Revision' => 493, 'Function' => 'UpdateTo493'), 19 493 => array('Revision' => 494, 'Function' => 'UpdateTo494'), 10 20 ); 11 21
Note:
See TracChangeset
for help on using the changeset viewer.