diff options
author | AlexRa | 2010-05-23 11:36:40 +0300 |
---|---|---|
committer | AlexRa | 2010-05-23 11:48:28 +0300 |
commit | 05d9ca1b26baaae3e9ab106665163f5beeecd11d (patch) | |
tree | 1bcd8a15a63d2e8ef799ff63ecd0f2698b2b1197 /OpenSim/Data | |
parent | MSSQL Migration: CreatorID in InventoryItems changed to VARCHAR(36) (diff) | |
download | opensim-SC_OLD-05d9ca1b26baaae3e9ab106665163f5beeecd11d.zip opensim-SC_OLD-05d9ca1b26baaae3e9ab106665163f5beeecd11d.tar.gz opensim-SC_OLD-05d9ca1b26baaae3e9ab106665163f5beeecd11d.tar.bz2 opensim-SC_OLD-05d9ca1b26baaae3e9ab106665163f5beeecd11d.tar.xz |
MySQL Migrations: Minor correcton to Region/Estate split
(some Estate SQL left behind in the Region migration)
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/EstateStore.migrations | 12 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/RegionStore.migrations | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/Resources/EstateStore.migrations b/OpenSim/Data/MySQL/Resources/EstateStore.migrations index 2e0d658..df82a2e 100644 --- a/OpenSim/Data/MySQL/Resources/EstateStore.migrations +++ b/OpenSim/Data/MySQL/Resources/EstateStore.migrations | |||
@@ -1,6 +1,10 @@ | |||
1 | :VERSION 13 | 1 | :VERSION 13 |
2 | 2 | ||
3 | # The estate migrations used to be in Region store | 3 | # The estate migrations used to be in Region store |
4 | # here they will do nothing (bad) if the tables are already there, | ||
5 | # just update the store version. | ||
6 | |||
7 | BEGIN; | ||
4 | 8 | ||
5 | CREATE TABLE IF NOT EXISTS `estate_managers` ( | 9 | CREATE TABLE IF NOT EXISTS `estate_managers` ( |
6 | `EstateID` int(10) unsigned NOT NULL, | 10 | `EstateID` int(10) unsigned NOT NULL, |
@@ -65,5 +69,13 @@ CREATE TABLE IF NOT EXISTS `estate_map` ( | |||
65 | KEY `EstateID` (`EstateID`) | 69 | KEY `EstateID` (`EstateID`) |
66 | ) ENGINE=InnoDB; | 70 | ) ENGINE=InnoDB; |
67 | 71 | ||
72 | COMMIT; | ||
73 | |||
74 | :VERSION 32 #--------------------- (moved from RegionStore migr, just in case) | ||
75 | |||
76 | BEGIN; | ||
77 | ALTER TABLE estate_settings AUTO_INCREMENT = 100; | ||
78 | COMMIT; | ||
79 | |||
68 | 80 | ||
69 | 81 | ||
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations index 383c328..d8a279d 100644 --- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations | |||
@@ -717,12 +717,6 @@ ALTER TABLE regionsettings ADD COLUMN loaded_creation_datetime int unsigned NOT | |||
717 | 717 | ||
718 | COMMIT; | 718 | COMMIT; |
719 | 719 | ||
720 | :VERSION 32 #--------------------- | ||
721 | |||
722 | BEGIN; | ||
723 | ALTER TABLE estate_settings AUTO_INCREMENT = 100; | ||
724 | COMMIT; | ||
725 | |||
726 | :VERSION 33 #--------------------- | 720 | :VERSION 33 #--------------------- |
727 | 721 | ||
728 | BEGIN; | 722 | BEGIN; |