Added UserAccountData and auth to the SQLite connector. Compiles, runs, but access to these tables doesn't work.

This commit is contained in:
Diva Canto
2010-02-20 17:52:38 -08:00
parent 845a390e93
commit 0ab6aac052
11 changed files with 373 additions and 16 deletions

View File

@@ -0,0 +1,18 @@
BEGIN TRANSACTION;
CREATE TABLE auth (
UUID char(36) NOT NULL,
passwordHash char(32) NOT NULL default '',
passwordSalt char(32) NOT NULL default '',
webLoginKey varchar(255) NOT NULL default '',
accountType VARCHAR(32) NOT NULL DEFAULT 'UserAccount',
PRIMARY KEY (`UUID`)
);
CREATE TABLE tokens (
UUID char(36) NOT NULL,
token varchar(255) NOT NULL,
validity datetime NOT NULL
);
COMMIT;