Commit fa1bc1e7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Changed size or field type of fields that hold JIDs.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@283 b35dd754-fafc-0310-a699-88a17e54d16e
parent e9018b96
......@@ -44,7 +44,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster (
rosterID INTEGER NOT NULL,
username VARCHAR(32) NOT NULL,
jid VARCHAR(2000) NOT NULL,
jid VARCHAR(1024) NOT NULL,
sub INTEGER NOT NULL,
ask INTEGER NOT NULL,
recv INTEGER NOT NULL,
......@@ -141,21 +141,21 @@ CREATE INDEX mucRoom_roomid_idx ON mucRoom (roomID);
CREATE TABLE mucAffiliation (
roomID INTEGER NOT NULL,
jid VARCHAR(2000) NOT NULL,
jid VARCHAR(1024) NOT NULL,
affiliation INTEGER NOT NULL,
CONSTRAINT mucAffiliation_pk PRIMARY KEY (roomID, jid)
);
CREATE TABLE mucMember (
roomID INTEGER NOT NULL,
jid VARCHAR(2000) NOT NULL,
jid VARCHAR(1024) NOT NULL,
nickname VARCHAR(255) NULL,
CONSTRAINT mucMember_pk PRIMARY KEY (roomID, jid)
);
CREATE TABLE mucConversationLog (
roomID INTEGER NOT NULL,
sender VARCHAR(2000) NOT NULL,
sender VARCHAR(1024) NOT NULL,
nickname VARCHAR(255) NULL,
time CHAR(15) NOT NULL,
subject VARCHAR(255) NULL,
......
......@@ -65,7 +65,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster (
rosterID BIGINT NOT NULL,
username VARCHAR(32) NOT NULL,
jid VARCHAR(1024) NOT NULL,
jid TEXT NOT NULL,
sub TINYINT NOT NULL,
ask TINYINT NOT NULL,
recv TINYINT NOT NULL,
......@@ -96,8 +96,8 @@ CREATE TABLE jiveID (
);
CREATE TABLE jiveProperty (
name VARCHAR(100) NOT NULL,
propValue TEXT NOT NULL,
name VARCHAR(100) NOT NULL,
propValue TEXT NOT NULL,
PRIMARY KEY (name)
);
......@@ -129,21 +129,21 @@ CREATE TABLE mucRoom (
CREATE TABLE mucAffiliation (
roomID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL,
jid TEXT NOT NULL,
affiliation TINYINT NOT NULL,
PRIMARY KEY (roomID,jid(70))
);
CREATE TABLE mucMember (
roomID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL,
jid TEXT NOT NULL,
nickname VARCHAR(255) NULL,
PRIMARY KEY (roomID,jid(70))
);
CREATE TABLE mucConversationLog (
roomID BIGINT NOT NULL,
sender VARCHAR(1024) NOT NULL,
sender TEXT NOT NULL,
nickname VARCHAR(255) NULL,
time CHAR(15) NOT NULL,
subject VARCHAR(255) NULL,
......
......@@ -143,7 +143,7 @@ CREATE TABLE mucAffiliation (
CREATE TABLE mucMember (
roomID INT NOT NULL,
jid VARCHAR2(3000) NOT NULL,
jid VARCHAR2(1024) NOT NULL,
nickname VARCHAR2(255) NULL,
CONSTRAINT mucMember_pk PRIMARY KEY (roomID, jid)
);
......
......@@ -160,7 +160,7 @@ CREATE TABLE mucMember (
CREATE TABLE mucConversationLog (
roomID INT NOT NULL,
sender NVARCHAR(3000) NOT NULL,
sender NVARCHAR(1024) NOT NULL,
nickname NVARCHAR(255) NULL,
time CHAR(15) NOT NULL,
subject NVARCHAR(255) NULL,
......
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