diff options
author | AlexRa | 2010-05-01 17:43:10 +0300 |
---|---|---|
committer | AlexRa | 2010-05-16 17:04:13 +0300 |
commit | ee713cb253c1ef2d09de235964e02e7621649dd8 (patch) | |
tree | b85373e71ddc2ece69726ea60c0f636ccc302c72 /OpenSim/Data/MySQL/Resources/007_RegionStore.sql | |
parent | Added MySqlMigrations.cs (supports stored proc/funcs) (diff) | |
download | opensim-SC-ee713cb253c1ef2d09de235964e02e7621649dd8.zip opensim-SC-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.gz opensim-SC-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.bz2 opensim-SC-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.xz |
Converted MySQL migration history to the new format
Replaced all NNN_StoreName.sql migration resources with a more
readable, single-file-per-store
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/007_RegionStore.sql')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/007_RegionStore.sql | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/OpenSim/Data/MySQL/Resources/007_RegionStore.sql b/OpenSim/Data/MySQL/Resources/007_RegionStore.sql deleted file mode 100644 index 404d248..0000000 --- a/OpenSim/Data/MySQL/Resources/007_RegionStore.sql +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | ALTER TABLE prims change UUID UUIDold varchar(255); | ||
4 | ALTER TABLE prims change RegionUUID RegionUUIDold varchar(255); | ||
5 | ALTER TABLE prims change CreatorID CreatorIDold varchar(255); | ||
6 | ALTER TABLE prims change OwnerID OwnerIDold varchar(255); | ||
7 | ALTER TABLE prims change GroupID GroupIDold varchar(255); | ||
8 | ALTER TABLE prims change LastOwnerID LastOwnerIDold varchar(255); | ||
9 | ALTER TABLE prims add UUID char(36); | ||
10 | ALTER TABLE prims add RegionUUID char(36); | ||
11 | ALTER TABLE prims add CreatorID char(36); | ||
12 | ALTER TABLE prims add OwnerID char(36); | ||
13 | ALTER TABLE prims add GroupID char(36); | ||
14 | ALTER TABLE prims add LastOwnerID char(36); | ||
15 | UPDATE prims set UUID = UUIDold, RegionUUID = RegionUUIDold, CreatorID = CreatorIDold, OwnerID = OwnerIDold, GroupID = GroupIDold, LastOwnerID = LastOwnerIDold; | ||
16 | ALTER TABLE prims drop UUIDold; | ||
17 | ALTER TABLE prims drop RegionUUIDold; | ||
18 | ALTER TABLE prims drop CreatorIDold; | ||
19 | ALTER TABLE prims drop OwnerIDold; | ||
20 | ALTER TABLE prims drop GroupIDold; | ||
21 | ALTER TABLE prims drop LastOwnerIDold; | ||
22 | ALTER TABLE prims add constraint primary key(UUID); | ||
23 | ALTER TABLE prims add index prims_regionuuid(RegionUUID); | ||
24 | |||
25 | COMMIT; \ No newline at end of file | ||