Changeset 502 for trunk/admin/Updates.php
- Timestamp:
- Mar 12, 2013, 10:58:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/Updates.php
r500 r502 142 142 } 143 143 144 function UpdateTo502($Manager) 145 { 146 $Manager->Execute("ALTER TABLE `FinanceBankAccount` ADD `LoginName` VARCHAR( 255 ) NOT NULL "); 147 $Manager->Execute("ALTER TABLE `FinanceBankAccount` ADD `LoginPassword` VARCHAR( 255 ) NOT NULL"); 148 $Manager->Execute("ALTER TABLE `FinanceBankAccount` ADD `Currency` INT NOT NULL AFTER `Use` ,". 149 "ADD INDEX ( `Currency` ) "); 150 $Manager->Execute("INSERT INTO `ISMenuItem` (`Id` ,`Name` ,`Parent` ,`Table` ,`IconName`) ". 151 "VALUES (NULL , 'Banka', '2', '', '');"); 152 $Manager->Execute("UPDATE `ISMenuItem` SET `Parent` = '51' WHERE `ISMenuItem`.`Id` =10; ". 153 "UPDATE `ISMenuItem` SET `Parent` = '51' WHERE `ISMenuItem`.`Id` =48;". 154 "UPDATE `ISMenuItem` SET `Parent` = '51' WHERE `ISMenuItem`.`Id` =50;"); 155 } 156 144 157 $Updates = array( 145 158 491 => array('Revision' => 493, 'Function' => 'UpdateTo493'), … … 150 163 498 => array('Revision' => 499, 'Function' => 'UpdateTo499'), 151 164 499 => array('Revision' => 500, 'Function' => 'UpdateTo500'), 165 500 => array('Revision' => 502, 'Function' => 'UpdateTo502'), 152 166 ); 153 167
Note:
See TracChangeset
for help on using the changeset viewer.