Store error as string in account instead of just a boolean (in_error)

darcs-hash:20071204171250-86b55-759d1ea8fe52fb896fa59cddd915a872ef601f7d.gz
This commit is contained in:
David Rousselie
2007-12-04 18:12:50 +01:00
parent 8aa2ede6ae
commit 1c5d2d073b
10 changed files with 119 additions and 23 deletions

View File

@@ -0,0 +1,14 @@
-- Exported definition from 2007-12-04T17:57:39
-- Class jcl.model.account.Account
-- Database: sqlite
CREATE TABLE account (
id INTEGER PRIMARY KEY,
name TEXT,
jid TEXT,
status TEXT,
error TEXT,
enabled TINYINT,
lastlogin TIMESTAMP,
user_id INT CONSTRAINT user_id_exists REFERENCES user(id) ,
child_name VARCHAR(255)
)