Store error as string in account instead of just a boolean (in_error)
darcs-hash:20071204171250-86b55-759d1ea8fe52fb896fa59cddd915a872ef601f7d.gz
This commit is contained in:
14
sqlobject_history/2007-12-04/Account_sqlite.sql
Normal file
14
sqlobject_history/2007-12-04/Account_sqlite.sql
Normal 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)
|
||||
)
|
||||
9
sqlobject_history/2007-12-04/IMAPAccount_sqlite.sql
Normal file
9
sqlobject_history/2007-12-04/IMAPAccount_sqlite.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jmc.model.account.IMAPAccount
|
||||
-- Database: sqlite
|
||||
CREATE TABLE imap_account (
|
||||
id INTEGER PRIMARY KEY,
|
||||
mailbox TEXT,
|
||||
delimiter TEXT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
10
sqlobject_history/2007-12-04/LegacyJID_sqlite.sql
Normal file
10
sqlobject_history/2007-12-04/LegacyJID_sqlite.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jcl.model.account.LegacyJID
|
||||
-- Database: sqlite
|
||||
CREATE TABLE legacy_j_id (
|
||||
id INTEGER PRIMARY KEY,
|
||||
legacy_address TEXT,
|
||||
jid TEXT,
|
||||
account_id INT CONSTRAINT account_id_exists REFERENCES account(id) ,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
18
sqlobject_history/2007-12-04/MailAccount_sqlite.sql
Normal file
18
sqlobject_history/2007-12-04/MailAccount_sqlite.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jmc.model.account.MailAccount
|
||||
-- Database: sqlite
|
||||
CREATE TABLE mail_account (
|
||||
id INTEGER PRIMARY KEY,
|
||||
login TEXT,
|
||||
password TEXT,
|
||||
host TEXT,
|
||||
port INT,
|
||||
_ssl TINYINT,
|
||||
_interval INT,
|
||||
store_password TINYINT,
|
||||
live_email_only TINYINT,
|
||||
lastcheck INT,
|
||||
waiting_password_reply TINYINT,
|
||||
first_check TINYINT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
9
sqlobject_history/2007-12-04/POP3Account_sqlite.sql
Normal file
9
sqlobject_history/2007-12-04/POP3Account_sqlite.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jmc.model.account.POP3Account
|
||||
-- Database: sqlite
|
||||
CREATE TABLE po_p3_account (
|
||||
id INTEGER PRIMARY KEY,
|
||||
nb_mail INT,
|
||||
lastmail INT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
13
sqlobject_history/2007-12-04/PresenceAccount_sqlite.sql
Normal file
13
sqlobject_history/2007-12-04/PresenceAccount_sqlite.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jcl.model.account.PresenceAccount
|
||||
-- Database: sqlite
|
||||
CREATE TABLE presence_account (
|
||||
id INTEGER PRIMARY KEY,
|
||||
chat_action INT,
|
||||
online_action INT,
|
||||
away_action INT,
|
||||
xa_action INT,
|
||||
dnd_action INT,
|
||||
offline_action INT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
16
sqlobject_history/2007-12-04/SMTPAccount_sqlite.sql
Normal file
16
sqlobject_history/2007-12-04/SMTPAccount_sqlite.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jmc.model.account.SMTPAccount
|
||||
-- Database: sqlite
|
||||
CREATE TABLE smtp_account (
|
||||
id INTEGER PRIMARY KEY,
|
||||
login TEXT,
|
||||
password TEXT,
|
||||
host TEXT,
|
||||
port INT,
|
||||
tls TINYINT,
|
||||
store_password TINYINT,
|
||||
waiting_password_reply TINYINT,
|
||||
default_from TEXT,
|
||||
default_account TINYINT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
9
sqlobject_history/2007-12-04/User_sqlite.sql
Normal file
9
sqlobject_history/2007-12-04/User_sqlite.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Exported definition from 2007-12-04T17:57:39
|
||||
-- Class jcl.model.account.User
|
||||
-- Database: sqlite
|
||||
CREATE TABLE user (
|
||||
id INTEGER PRIMARY KEY,
|
||||
jid TEXT,
|
||||
has_received_motd TINYINT,
|
||||
child_name VARCHAR(255)
|
||||
)
|
||||
Reference in New Issue
Block a user