From 15562017f220e2474b548f860ce1174541d7e22f Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Fri, 7 May 2010 21:32:02 -0700
Subject: These files are part of the GridUserService write-up.

---
 OpenSim/Data/SQLite/Resources/001_GridUserStore.sql | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 OpenSim/Data/SQLite/Resources/001_GridUserStore.sql

(limited to 'OpenSim/Data/SQLite/Resources/001_GridUserStore.sql')

diff --git a/OpenSim/Data/SQLite/Resources/001_GridUserStore.sql b/OpenSim/Data/SQLite/Resources/001_GridUserStore.sql
new file mode 100644
index 0000000..1a24613
--- /dev/null
+++ b/OpenSim/Data/SQLite/Resources/001_GridUserStore.sql
@@ -0,0 +1,16 @@
+BEGIN TRANSACTION;
+
+CREATE TABLE GridUser (
+    UserID VARCHAR(255) primary key,
+    HomeRegionID CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
+    HomePosition CHAR(64) NOT NULL DEFAULT '<0,0,0>',
+    HomeLookAt CHAR(64) NOT NULL DEFAULT '<0,0,0>',
+    LastRegionID CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
+    LastPosition CHAR(64) NOT NULL DEFAULT '<0,0,0>',
+    LastLookAt CHAR(64) NOT NULL DEFAULT '<0,0,0>',
+    Online CHAR(5) NOT NULL DEFAULT 'false',
+    Login CHAR(16) NOT NULL DEFAULT '0',
+    Logout CHAR(16) NOT NULL DEFAULT '0'
+) ;
+
+COMMIT;
-- 
cgit v1.1

