aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorDiva Canto2010-05-07 21:32:02 -0700
committerDiva Canto2010-05-07 21:32:02 -0700
commit15562017f220e2474b548f860ce1174541d7e22f (patch)
tree8290f1402454ae9c5653eaa9c49e2791fc8deee9 /OpenSim/Data/MySQL
parentGridUserService in place. Replaces the contrived concept of storing user's ho... (diff)
downloadopensim-SC-15562017f220e2474b548f860ce1174541d7e22f.zip
opensim-SC-15562017f220e2474b548f860ce1174541d7e22f.tar.gz
opensim-SC-15562017f220e2474b548f860ce1174541d7e22f.tar.bz2
opensim-SC-15562017f220e2474b548f860ce1174541d7e22f.tar.xz
These files are part of the GridUserService write-up.
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/Resources/001_GridUserStore.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/001_GridUserStore.sql b/OpenSim/Data/MySQL/Resources/001_GridUserStore.sql
new file mode 100644
index 0000000..ce4ab96
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/001_GridUserStore.sql
@@ -0,0 +1,17 @@
1BEGIN;
2
3CREATE TABLE `GridUser` (
4 `UserID` VARCHAR(255) NOT NULL,
5 `HomeRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
6 `HomePosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
7 `HomeLookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
8 `LastRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
9 `LastPosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
10 `LastLookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
11 `Online` CHAR(5) NOT NULL DEFAULT 'false',
12 `Login` CHAR(16) NOT NULL DEFAULT '0',
13 `Logout` CHAR(16) NOT NULL DEFAULT '0',
14 PRIMARY KEY (`UserID`)
15) ENGINE=InnoDB;
16
17COMMIT;