Changeset 574 for trunk/admin/Updates.php
- Timestamp:
- Sep 29, 2013, 2:38:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/Updates.php
r572 r574 375 375 } 376 376 377 function UpdateTo574($Manager) 378 { 379 $Manager->Execute('ALTER TABLE `MapPosition` ADD `Pos` VARCHAR( 255 ) NOT NULL ;'); 380 $Manager->Execute('UPDATE `MapPosition` SET `Pos`=CONCAT(`Latitude`, ";", `Longitude`)'); 381 $Manager->Execute('ALTER TABLE `MapPosition` DROP `Latitude`'); 382 $Manager->Execute('ALTER TABLE `MapPosition` DROP `Longitude`'); 383 } 377 384 378 385 $Updates = array( … … 397 404 551 => array('Revision' => 565, 'Function' => 'UpdateTo565'), 398 405 565 => array('Revision' => 571, 'Function' => 'UpdateTo571'), 406 571 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 399 407 );
Note:
See TracChangeset
for help on using the changeset viewer.