diff options
author | Diva Canto | 2010-02-20 17:52:38 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-20 17:52:38 -0800 |
commit | 0ab6aac05255078a9d190f6623b2d86d5253d955 (patch) | |
tree | 311cb082d2a7f41496ae000562b38bdb2b7111d5 /OpenSim/Data/SQLite/Resources/001_AuthStore.sql | |
parent | * Added a sanity check for missing asset data in LLClientView (diff) | |
download | opensim-SC_OLD-0ab6aac05255078a9d190f6623b2d86d5253d955.zip opensim-SC_OLD-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.gz opensim-SC_OLD-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.bz2 opensim-SC_OLD-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.xz |
Added UserAccountData and auth to the SQLite connector. Compiles, runs, but access to these tables doesn't work.
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/001_AuthStore.sql')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_AuthStore.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/001_AuthStore.sql b/OpenSim/Data/SQLite/Resources/001_AuthStore.sql new file mode 100644 index 0000000..468567d --- /dev/null +++ b/OpenSim/Data/SQLite/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; | ||