MySQL Migrations: Minor correcton to Region/Estate split
(some Estate SQL left behind in the Region migration)soprefactor
parent
52a3dbd076
commit
05d9ca1b26
|
@ -1,6 +1,10 @@
|
||||||
:VERSION 13
|
:VERSION 13
|
||||||
|
|
||||||
# The estate migrations used to be in Region store
|
# 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` (
|
CREATE TABLE IF NOT EXISTS `estate_managers` (
|
||||||
`EstateID` int(10) unsigned NOT NULL,
|
`EstateID` int(10) unsigned NOT NULL,
|
||||||
|
@ -65,5 +69,13 @@ CREATE TABLE IF NOT EXISTS `estate_map` (
|
||||||
KEY `EstateID` (`EstateID`)
|
KEY `EstateID` (`EstateID`)
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
:VERSION 32 #--------------------- (moved from RegionStore migr, just in case)
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
|
ALTER TABLE estate_settings AUTO_INCREMENT = 100;
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -717,12 +717,6 @@ ALTER TABLE regionsettings ADD COLUMN loaded_creation_datetime int unsigned NOT
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
:VERSION 32 #---------------------
|
|
||||||
|
|
||||||
BEGIN;
|
|
||||||
ALTER TABLE estate_settings AUTO_INCREMENT = 100;
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
:VERSION 33 #---------------------
|
:VERSION 33 #---------------------
|
||||||
|
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
|
Loading…
Reference in New Issue