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/SQLite/Resources | |
parent | GridUserService in place. Replaces the contrived concept of storing user's ho... (diff) | |
download | opensim-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/SQLite/Resources')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_GridUserStore.sql | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE TABLE GridUser ( | ||
4 | UserID VARCHAR(255) primary key, | ||
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 | ) ; | ||
15 | |||
16 | COMMIT; | ||