Commit 25551582 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed column type and length issues (JM-144).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@924 b35dd754-fafc-0310-a699-88a17e54d16e
parent dee251be
...@@ -44,7 +44,7 @@ CREATE TABLE jiveOffline ( ...@@ -44,7 +44,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID INTEGER NOT NULL, rosterID INTEGER NOT NULL,
username VARCHAR(32) NOT NULL, username VARCHAR(32) NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1000) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
recv INTEGER NOT NULL, recv INTEGER NOT NULL,
...@@ -142,14 +142,14 @@ CREATE INDEX mucRoom_roomid_idx ON mucRoom (roomID); ...@@ -142,14 +142,14 @@ CREATE INDEX mucRoom_roomid_idx ON mucRoom (roomID);
CREATE TABLE mucAffiliation ( CREATE TABLE mucAffiliation (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1000) NOT NULL,
affiliation INTEGER NOT NULL, affiliation INTEGER NOT NULL,
CONSTRAINT mucAffiliation_pk PRIMARY KEY (roomID, jid) CONSTRAINT mucAffiliation_pk PRIMARY KEY (roomID, jid)
); );
CREATE TABLE mucMember ( CREATE TABLE mucMember (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1000) NOT NULL,
nickname VARCHAR(255) NULL, nickname VARCHAR(255) NULL,
firstName VARCHAR(100) NULL, firstName VARCHAR(100) NULL,
lastName VARCHAR(100) NULL, lastName VARCHAR(100) NULL,
...@@ -161,11 +161,11 @@ CREATE TABLE mucMember ( ...@@ -161,11 +161,11 @@ CREATE TABLE mucMember (
CREATE TABLE mucConversationLog ( CREATE TABLE mucConversationLog (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
sender VARCHAR(1024) NOT NULL, sender VARCHAR(1000) NOT NULL,
nickname VARCHAR(255) NULL, nickname VARCHAR(255) NULL,
time CHAR(15) NOT NULL, time CHAR(15) NOT NULL,
subject VARCHAR(255) NULL, subject VARCHAR(255) NULL,
body LONG VARCHAR NULL body CLOB NULL
); );
CREATE INDEX mucLog_time_idx ON mucConversationLog (time); CREATE INDEX mucLog_time_idx ON mucConversationLog (time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment