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/007_EstateStore.sql | 25 ------------------------
 1 file changed, 25 deletions(-)
 delete mode 100644 OpenSim/Data/MSSQL/Resources/007_EstateStore.sql

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

diff --git a/OpenSim/Data/MSSQL/Resources/007_EstateStore.sql b/OpenSim/Data/MSSQL/Resources/007_EstateStore.sql
deleted file mode 100644
index c9165b0..0000000
--- a/OpenSim/Data/MSSQL/Resources/007_EstateStore.sql
+++ /dev/null
@@ -1,25 +0,0 @@
-BEGIN TRANSACTION
-
-CREATE TABLE dbo.Tmp_estateban
-	(
-	EstateID int NOT NULL,
-	bannedUUID uniqueidentifier NOT NULL,
-	bannedIp varchar(16) NULL,
-	bannedIpHostMask varchar(16) NULL,
-	bannedNameMask varchar(64) NULL
-	)  ON [PRIMARY]
-
-IF EXISTS(SELECT * FROM dbo.estateban)
-	 EXEC('INSERT INTO dbo.Tmp_estateban (EstateID, bannedUUID, bannedIp, bannedIpHostMask, bannedNameMask)
-		SELECT EstateID, CONVERT(uniqueidentifier, bannedUUID), bannedIp, bannedIpHostMask, bannedNameMask FROM dbo.estateban WITH (HOLDLOCK TABLOCKX)')
-
-DROP TABLE dbo.estateban
-
-EXECUTE sp_rename N'dbo.Tmp_estateban', N'estateban', 'OBJECT' 
-
-CREATE NONCLUSTERED INDEX IX_estateban ON dbo.estateban
-	(
-	EstateID
-	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-
-COMMIT
-- 
cgit v1.1

