rename user table to user_table to avoir postgresql keyword conflict

darcs-hash:20081109190705-86b55-036cd024b6e2e5c3871c256e794c60363915afa8.gz
This commit is contained in:
David Rousselie
2008-11-09 20:07:05 +01:00
parent b246d50564
commit b369a64715
10 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- Exported definition from 2008-11-09T13:58:34
-- Class jcl.model.account.Account
-- Database: sqlite
CREATE TABLE account (
id INTEGER PRIMARY KEY,
name TEXT,
jid TEXT,
status TEXT,
error TEXT,
enabled BOOLEAN,
lastlogin TIMESTAMP,
user_id INT CONSTRAINT user_id_exists REFERENCES user_table(id) ,
child_name VARCHAR (255)
)

View File

@@ -0,0 +1,10 @@
-- Exported definition from 2008-11-09T13:58:34
-- 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)
)

View File

@@ -0,0 +1,13 @@
-- Exported definition from 2008-11-09T13:58:34
-- 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)
)

View File

@@ -0,0 +1,9 @@
-- Exported definition from 2008-11-09T13:58:34
-- Class jcl.model.account.User
-- Database: sqlite
CREATE TABLE user_table (
id INTEGER PRIMARY KEY,
jid TEXT,
has_received_motd BOOLEAN,
child_name VARCHAR (255)
)