MySQL Migrations: Minor correcton to Region/Estate split

(some Estate SQL left behind in the Region migration)
soprefactor
AlexRa 2010-05-23 11:36:40 +03:00
parent 52a3dbd076
commit 05d9ca1b26
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,10 @@
:VERSION 13
# The estate migrations used to be in Region store
# here they will do nothing (bad) if the tables are already there,
# just update the store version.
BEGIN;
CREATE TABLE IF NOT EXISTS `estate_managers` (
`EstateID` int(10) unsigned NOT NULL,
@ -65,5 +69,13 @@ CREATE TABLE IF NOT EXISTS `estate_map` (
KEY `EstateID` (`EstateID`)
) ENGINE=InnoDB;
COMMIT;
:VERSION 32 #--------------------- (moved from RegionStore migr, just in case)
BEGIN;
ALTER TABLE estate_settings AUTO_INCREMENT = 100;
COMMIT;

View File

@ -717,12 +717,6 @@ ALTER TABLE regionsettings ADD COLUMN loaded_creation_datetime int unsigned NOT
COMMIT;
:VERSION 32 #---------------------
BEGIN;
ALTER TABLE estate_settings AUTO_INCREMENT = 100;
COMMIT;
:VERSION 33 #---------------------
BEGIN;