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/009_RegionStore.sql | 31 ------------------------
 1 file changed, 31 deletions(-)
 delete mode 100644 OpenSim/Data/MySQL/Resources/009_RegionStore.sql

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

diff --git a/OpenSim/Data/MySQL/Resources/009_RegionStore.sql b/OpenSim/Data/MySQL/Resources/009_RegionStore.sql
deleted file mode 100644
index 284732a..0000000
--- a/OpenSim/Data/MySQL/Resources/009_RegionStore.sql
+++ /dev/null
@@ -1,31 +0,0 @@
-BEGIN;
- 
-ALTER TABLE primitems change itemID itemIDold varchar(255);
-ALTER TABLE primitems change primID primIDold varchar(255);
-ALTER TABLE primitems change assetID assetIDold varchar(255);
-ALTER TABLE primitems change parentFolderID parentFolderIDold varchar(255);
-ALTER TABLE primitems change creatorID creatorIDold varchar(255);
-ALTER TABLE primitems change ownerID ownerIDold varchar(255);
-ALTER TABLE primitems change groupID groupIDold varchar(255);
-ALTER TABLE primitems change lastOwnerID lastOwnerIDold varchar(255);
-ALTER TABLE primitems add itemID char(36);
-ALTER TABLE primitems add primID char(36);
-ALTER TABLE primitems add assetID char(36);
-ALTER TABLE primitems add parentFolderID char(36);
-ALTER TABLE primitems add creatorID char(36);
-ALTER TABLE primitems add ownerID char(36);
-ALTER TABLE primitems add groupID char(36);
-ALTER TABLE primitems add lastOwnerID char(36);
-UPDATE primitems set itemID = itemIDold, primID = primIDold, assetID = assetIDold, parentFolderID = parentFolderIDold, creatorID = creatorIDold, ownerID = ownerIDold, groupID = groupIDold, lastOwnerID = lastOwnerIDold;
-ALTER TABLE primitems drop itemIDold;
-ALTER TABLE primitems drop primIDold;
-ALTER TABLE primitems drop assetIDold;
-ALTER TABLE primitems drop parentFolderIDold;
-ALTER TABLE primitems drop creatorIDold;
-ALTER TABLE primitems drop ownerIDold;
-ALTER TABLE primitems drop groupIDold;
-ALTER TABLE primitems drop lastOwnerIDold;
-ALTER TABLE primitems add constraint primary key(itemID);
-ALTER TABLE primitems add index primitems_primid(primID);
-
-COMMIT;
\ No newline at end of file
-- 
cgit v1.1

