diff options
author | Diva Canto | 2010-05-07 21:32:02 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-07 21:32:02 -0700 |
commit | 15562017f220e2474b548f860ce1174541d7e22f (patch) | |
tree | 8290f1402454ae9c5653eaa9c49e2791fc8deee9 /OpenSim/Data/MySQL | |
parent | GridUserService in place. Replaces the contrived concept of storing user's ho... (diff) | |
download | opensim-SC_OLD-15562017f220e2474b548f860ce1174541d7e22f.zip opensim-SC_OLD-15562017f220e2474b548f860ce1174541d7e22f.tar.gz opensim-SC_OLD-15562017f220e2474b548f860ce1174541d7e22f.tar.bz2 opensim-SC_OLD-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.sql | 17 |
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 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | CREATE 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 | |||
17 | COMMIT; | ||