From dfeb9a0b5c07a85ec8aed591206468cee83ce637 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/019_RegionStore.sql | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 OpenSim/Data/MSSQL/Resources/019_RegionStore.sql

(limited to 'OpenSim/Data/MSSQL/Resources/019_RegionStore.sql')

diff --git a/OpenSim/Data/MSSQL/Resources/019_RegionStore.sql b/OpenSim/Data/MSSQL/Resources/019_RegionStore.sql
deleted file mode 100644
index 8e613b9..0000000
--- a/OpenSim/Data/MSSQL/Resources/019_RegionStore.sql
+++ /dev/null
@@ -1,19 +0,0 @@
-BEGIN TRANSACTION
-
-CREATE TABLE dbo.Tmp_regionban
-	(
-	regionUUID uniqueidentifier NOT NULL,
-	bannedUUID uniqueidentifier NOT NULL,
-	bannedIp varchar(16) NOT NULL,
-	bannedIpHostMask varchar(16) NOT NULL
-	)  ON [PRIMARY]
-
-IF EXISTS(SELECT * FROM dbo.regionban)
-	 EXEC('INSERT INTO dbo.Tmp_regionban (regionUUID, bannedUUID, bannedIp, bannedIpHostMask)
-		SELECT CONVERT(uniqueidentifier, regionUUID), CONVERT(uniqueidentifier, bannedUUID), bannedIp, bannedIpHostMask FROM dbo.regionban WITH (HOLDLOCK TABLOCKX)')
-
-DROP TABLE dbo.regionban
-
-EXECUTE sp_rename N'dbo.Tmp_regionban', N'regionban', 'OBJECT' 
-
-COMMIT
-- 
cgit v1.1

