From 020f38774fbe8e0f53b0cb28ab49b378b9dcd325 Mon Sep 17 00:00:00 2001
From: AlexRa
Date: Thu, 6 May 2010 23:16:36 +0300
Subject: MS SQL migrations converted to the new format

---
 OpenSim/Data/MSSQL/Resources/004_EstateStore.sql | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 OpenSim/Data/MSSQL/Resources/004_EstateStore.sql

(limited to 'OpenSim/Data/MSSQL/Resources/004_EstateStore.sql')

diff --git a/OpenSim/Data/MSSQL/Resources/004_EstateStore.sql b/OpenSim/Data/MSSQL/Resources/004_EstateStore.sql
deleted file mode 100644
index 0a132c1..0000000
--- a/OpenSim/Data/MSSQL/Resources/004_EstateStore.sql
+++ /dev/null
@@ -1,22 +0,0 @@
-BEGIN TRANSACTION
-
-CREATE TABLE dbo.Tmp_estate_managers
-	(
-	EstateID int NOT NULL,
-	uuid uniqueidentifier NOT NULL
-	)  ON [PRIMARY]
-
-IF EXISTS(SELECT * FROM dbo.estate_managers)
-	 EXEC('INSERT INTO dbo.Tmp_estate_managers (EstateID, uuid)
-		SELECT EstateID, CONVERT(uniqueidentifier, uuid) FROM dbo.estate_managers WITH (HOLDLOCK TABLOCKX)')
-
-DROP TABLE dbo.estate_managers
-
-EXECUTE sp_rename N'dbo.Tmp_estate_managers', N'estate_managers', 'OBJECT' 
-
-CREATE NONCLUSTERED INDEX IX_estate_managers ON dbo.estate_managers
-	(
-	EstateID
-	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-
-COMMIT
-- 
cgit v1.1

