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

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

diff --git a/OpenSim/Data/MSSQL/Resources/016_RegionStore.sql b/OpenSim/Data/MSSQL/Resources/016_RegionStore.sql
deleted file mode 100644
index e91da19..0000000
--- a/OpenSim/Data/MSSQL/Resources/016_RegionStore.sql
+++ /dev/null
@@ -1,19 +0,0 @@
-BEGIN TRANSACTION
-
-CREATE TABLE dbo.Tmp_terrain
-	(
-	RegionUUID uniqueidentifier NULL,
-	Revision int NULL,
-	Heightfield image NULL
-	)  ON [PRIMARY]
-	 TEXTIMAGE_ON [PRIMARY]
-
-IF EXISTS(SELECT * FROM dbo.terrain)
-	 EXEC('INSERT INTO dbo.Tmp_terrain (RegionUUID, Revision, Heightfield)
-		SELECT CONVERT(uniqueidentifier, RegionUUID), Revision, Heightfield FROM dbo.terrain WITH (HOLDLOCK TABLOCKX)')
-
-DROP TABLE dbo.terrain
-
-EXECUTE sp_rename N'dbo.Tmp_terrain', N'terrain', 'OBJECT' 
-
-COMMIT
-- 
cgit v1.1

