From 281955949910eb257b5f7e42e54535ba7812418e Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Sun, 14 Sep 2008 13:23:02 +0000
Subject: Mantis #2124 Thank you, RuudL, for a patch that brings MSSQL up to
 the same implementation level as MySQL.

---
 OpenSim/Data/MSSQL/Resources/003_UserStore.sql | 30 ++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 OpenSim/Data/MSSQL/Resources/003_UserStore.sql

(limited to 'OpenSim/Data/MSSQL/Resources/003_UserStore.sql')

diff --git a/OpenSim/Data/MSSQL/Resources/003_UserStore.sql b/OpenSim/Data/MSSQL/Resources/003_UserStore.sql
new file mode 100644
index 0000000..c2821e6
--- /dev/null
+++ b/OpenSim/Data/MSSQL/Resources/003_UserStore.sql
@@ -0,0 +1,30 @@
+BEGIN TRANSACTION
+
+CREATE TABLE [avatarattachments] (
+	[UUID] varchar(36) NOT NULL
+	, [attachpoint] int NOT NULL
+	, [item] varchar(36) NOT NULL
+	, [asset] varchar(36) NOT NULL)
+
+CREATE NONCLUSTERED INDEX IX_avatarattachments ON dbo.avatarattachments
+	(
+	UUID
+	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+
+
+COMMIT
+BEGIN TRANSACTION
+
+CREATE TABLE [avatarattachments] (
+	[UUID] varchar(36) NOT NULL
+	, [attachpoint] int NOT NULL
+	, [item] varchar(36) NOT NULL
+	, [asset] varchar(36) NOT NULL)
+
+CREATE NONCLUSTERED INDEX IX_avatarattachments ON dbo.avatarattachments
+	(
+	UUID
+	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+
+
+COMMIT
-- 
cgit v1.1

