From 2fa5694ec9857f208b6fe4d0890fd2ab8ac1b8bf Mon Sep 17 00:00:00 2001
From: StrawberryFride
Date: Wed, 24 Feb 2010 16:42:39 +0000
Subject: MSSQL Additions for Presence Refactor branch. Most functionality
 tested and works, some outstanding issues around login location and border
 crossings on y axis.

Signed-off-by: Melanie <melanie@t-data.com>
---
 OpenSim/Data/MSSQL/Resources/007_GridStore.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 OpenSim/Data/MSSQL/Resources/007_GridStore.sql

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

diff --git a/OpenSim/Data/MSSQL/Resources/007_GridStore.sql b/OpenSim/Data/MSSQL/Resources/007_GridStore.sql
new file mode 100644
index 0000000..0b66d40
--- /dev/null
+++ b/OpenSim/Data/MSSQL/Resources/007_GridStore.sql
@@ -0,0 +1,9 @@
+BEGIN TRANSACTION
+
+ALTER TABLE regions ADD [flags] integer NOT NULL DEFAULT 0;
+CREATE INDEX [flags] ON regions(flags);
+ALTER TABLE [regions] ADD [last_seen] integer NOT NULL DEFAULT 0;
+ALTER TABLE [regions] ADD [PrincipalID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
+ALTER TABLE [regions] ADD [Token] varchar(255) NOT NULL DEFAULT 0;
+
+COMMIT
-- 
cgit v1.1

