From ee713cb253c1ef2d09de235964e02e7621649dd8 Mon Sep 17 00:00:00 2001
From: AlexRa
Date: Sat, 1 May 2010 17:43:10 +0300
Subject: Converted MySQL migration history to the new format

Replaced all NNN_StoreName.sql migration resources with a more
readable, single-file-per-store
---
 OpenSim/Data/MySQL/Resources/007_RegionStore.sql | 25 ------------------------
 1 file changed, 25 deletions(-)
 delete mode 100644 OpenSim/Data/MySQL/Resources/007_RegionStore.sql

(limited to 'OpenSim/Data/MySQL/Resources/007_RegionStore.sql')

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 @@
-BEGIN;
-
-ALTER TABLE prims change UUID UUIDold varchar(255);
-ALTER TABLE prims change RegionUUID RegionUUIDold varchar(255);
-ALTER TABLE prims change CreatorID CreatorIDold varchar(255);
-ALTER TABLE prims change OwnerID OwnerIDold varchar(255);
-ALTER TABLE prims change GroupID GroupIDold varchar(255);
-ALTER TABLE prims change LastOwnerID LastOwnerIDold varchar(255);
-ALTER TABLE prims add UUID char(36);
-ALTER TABLE prims add RegionUUID char(36);
-ALTER TABLE prims add CreatorID char(36);
-ALTER TABLE prims add OwnerID char(36);
-ALTER TABLE prims add GroupID char(36);
-ALTER TABLE prims add LastOwnerID char(36);
-UPDATE prims set UUID = UUIDold, RegionUUID = RegionUUIDold, CreatorID = CreatorIDold, OwnerID = OwnerIDold, GroupID = GroupIDold, LastOwnerID = LastOwnerIDold;
-ALTER TABLE prims drop UUIDold;
-ALTER TABLE prims drop RegionUUIDold;
-ALTER TABLE prims drop CreatorIDold;
-ALTER TABLE prims drop OwnerIDold;
-ALTER TABLE prims drop GroupIDold;
-ALTER TABLE prims drop LastOwnerIDold;
-ALTER TABLE prims add constraint primary key(UUID);
-ALTER TABLE prims add index prims_regionuuid(RegionUUID);
-
-COMMIT;
\ No newline at end of file
-- 
cgit v1.1

