diff options
author | Justin Clark-Casey (justincc) | 2010-04-23 17:17:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-30 18:59:10 +0100 |
commit | 959cd6022504fa3ffe2f69c66ed94827f6ae6951 (patch) | |
tree | 4e5d821bf639d37ca42b4b8379a86327a21a6477 /OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql | |
parent | Slightly tweak README to account for the fact that first-time standalone user... (diff) | |
download | opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.zip opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.gz opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.bz2 opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.xz |
Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will shortly be changed to work under mono 2.6 and above
Diffstat (limited to 'OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql')
-rw-r--r-- | OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql b/OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql new file mode 100644 index 0000000..468567d --- /dev/null +++ b/OpenSim/Data/SQLiteNG/Resources/001_AuthStore.sql | |||
@@ -0,0 +1,18 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE TABLE auth ( | ||
4 | UUID char(36) NOT NULL, | ||
5 | passwordHash char(32) NOT NULL default '', | ||
6 | passwordSalt char(32) NOT NULL default '', | ||
7 | webLoginKey varchar(255) NOT NULL default '', | ||
8 | accountType VARCHAR(32) NOT NULL DEFAULT 'UserAccount', | ||
9 | PRIMARY KEY (`UUID`) | ||
10 | ); | ||
11 | |||
12 | CREATE TABLE tokens ( | ||
13 | UUID char(36) NOT NULL, | ||
14 | token varchar(255) NOT NULL, | ||
15 | validity datetime NOT NULL | ||
16 | ); | ||
17 | |||
18 | COMMIT; | ||