From 71fd737a66c58faa6854ad1c1d8c58f64491fdb0 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Wed, 5 Dec 2007 15:53:58 +0000
Subject: * Applied MSSQL Patch from akokko, Thanks! akokko * This hasn't been
 tested in MSSQL mode, however it's been checked to make sure it doesn't cause
 any issues with mySQL/SQLlite

---
 share/sql/mssql-CreateAssetsTable.sql | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 share/sql/mssql-CreateAssetsTable.sql

(limited to 'share/sql/mssql-CreateAssetsTable.sql')

diff --git a/share/sql/mssql-CreateAssetsTable.sql b/share/sql/mssql-CreateAssetsTable.sql
new file mode 100644
index 0000000..c7cb21a
--- /dev/null
+++ b/share/sql/mssql-CreateAssetsTable.sql
@@ -0,0 +1,19 @@
+SET ANSI_NULLS ON
+SET QUOTED_IDENTIFIER ON
+SET ANSI_PADDING ON
+CREATE TABLE [assets] (
+  [id] [varchar](36) NOT NULL,
+  [name] [varchar](64) NOT NULL,
+  [description] [varchar](64) NOT NULL,
+  [assetType] [tinyint] NOT NULL,
+  [invType] [tinyint] NOT NULL,
+  [local] [tinyint] NOT NULL,
+  [temporary] [tinyint] NOT NULL,
+  [data] [image] NOT NULL,
+PRIMARY KEY CLUSTERED 
+(
+	[id] ASC
+)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+SET ANSI_PADDING OFF
-- 
cgit v1.1

