Commit 27c8c6aa authored by Matt Tucker's avatar Matt Tucker Committed by matt

Increase username to 64 characters (JM-700).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3932 b35dd754-fafc-0310-a699-88a17e54d16e
parent 748f3684
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
-- $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ -- $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
password VARCHAR(32), password VARCHAR(32),
encryptedPassword VARCHAR(255), encryptedPassword VARCHAR(255),
name VARCHAR(100), name VARCHAR(100),
...@@ -15,7 +15,7 @@ CREATE INDEX jiveUsr_cDate_idx ON jiveUser (creationDate ASC); ...@@ -15,7 +15,7 @@ CREATE INDEX jiveUsr_cDate_idx ON jiveUser (creationDate ASC);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
propValue VARCHAR(2000) NOT NULL, propValue VARCHAR(2000) NOT NULL,
CONSTRAINT jiveUsrProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUsrProp_pk PRIMARY KEY (username, name)
...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp ( ...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
namespace VARCHAR(200) NOT NULL, namespace VARCHAR(200) NOT NULL,
value VARCHAR(2000) NOT NULL, value VARCHAR(2000) NOT NULL,
...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate ( ...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
messageID INTEGER NOT NULL, messageID INTEGER NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline ( ...@@ -43,7 +43,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(64) NOT NULL,
jid VARCHAR(2000) NOT NULL, jid VARCHAR(2000) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -64,7 +64,7 @@ CREATE INDEX jiveRoGrps_rid_idx ON jiveRosterGroups (rosterID ASC); ...@@ -64,7 +64,7 @@ CREATE INDEX jiveRoGrps_rid_idx ON jiveRosterGroups (rosterID ASC);
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
value VARCHAR(2000) NOT NULL, value VARCHAR(2000) NOT NULL,
CONSTRAINT jiveVCard_pk PRIMARY KEY (username) CONSTRAINT jiveVCard_pk PRIMARY KEY (username)
); );
...@@ -92,7 +92,7 @@ CREATE TABLE jiveGroupUser ( ...@@ -92,7 +92,7 @@ CREATE TABLE jiveGroupUser (
CONSTRAINT jiveGrpUser PRIMARY KEY (groupName, username, administrator) CONSTRAINT jiveGrpUser PRIMARY KEY (groupName, username, administrator)
); );
CREATE TABLE jiveID ( CREATE TABLE jiveID (
idType INTEGER NOT NULL, idType INTEGER NOT NULL,
id INTEGER NOT NULL, id INTEGER NOT NULL,
...@@ -113,6 +113,7 @@ CREATE TABLE jiveVersion ( ...@@ -113,6 +113,7 @@ CREATE TABLE jiveVersion (
CONSTRAINT jiveVersion_pk PRIMARY KEY (name) CONSTRAINT jiveVersion_pk PRIMARY KEY (name)
); );
CREATE TABLE jiveExtComponentConf ( CREATE TABLE jiveExtComponentConf (
subdomain VARCHAR(255) NOT NULL, subdomain VARCHAR(255) NOT NULL,
secret VARCHAR(255), secret VARCHAR(255),
...@@ -120,6 +121,7 @@ CREATE TABLE jiveExtComponentConf ( ...@@ -120,6 +121,7 @@ CREATE TABLE jiveExtComponentConf (
CONSTRAINT jiveExtCmpConf_pk PRIMARY KEY (subdomain) CONSTRAINT jiveExtCmpConf_pk PRIMARY KEY (subdomain)
); );
CREATE TABLE jiveRemoteServerConf ( CREATE TABLE jiveRemoteServerConf (
domain VARCHAR(255) NOT NULL, domain VARCHAR(255) NOT NULL,
remotePort INTEGER, remotePort INTEGER,
...@@ -127,8 +129,9 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -127,8 +129,9 @@ CREATE TABLE jiveRemoteServerConf (
CONSTRAINT jiveRmSrvConf_pk PRIMARY KEY (domain) CONSTRAINT jiveRmSrvConf_pk PRIMARY KEY (domain)
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL, isDefault INTEGER NOT NULL,
list VARCHAR(2000) NOT NULL, list VARCHAR(2000) NOT NULL,
...@@ -136,6 +139,7 @@ CREATE TABLE jivePrivacyList ( ...@@ -136,6 +139,7 @@ CREATE TABLE jivePrivacyList (
); );
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault); CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
-- MUC tables -- MUC tables
CREATE TABLE mucRoom ( CREATE TABLE mucRoom (
...@@ -163,9 +167,9 @@ CREATE TABLE mucRoom ( ...@@ -163,9 +167,9 @@ CREATE TABLE mucRoom (
canRegister INTEGER NOT NULL, canRegister INTEGER NOT NULL,
CONSTRAINT mucRoom_pk PRIMARY KEY (name) CONSTRAINT mucRoom_pk PRIMARY KEY (name)
); );
CREATE INDEX mucRm_roomid_idx ON mucRoom (roomID); CREATE INDEX mucRm_roomid_idx ON mucRoom (roomID);
CREATE TABLE mucRoomProp ( CREATE TABLE mucRoomProp (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
...@@ -173,6 +177,7 @@ CREATE TABLE mucRoomProp ( ...@@ -173,6 +177,7 @@ CREATE TABLE mucRoomProp (
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name) CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
); );
CREATE TABLE mucAffiliation ( CREATE TABLE mucAffiliation (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
jid VARCHAR(1000) NOT NULL, jid VARCHAR(1000) NOT NULL,
...@@ -180,6 +185,7 @@ CREATE TABLE mucAffiliation ( ...@@ -180,6 +185,7 @@ CREATE TABLE mucAffiliation (
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(1000) NOT NULL, jid VARCHAR(1000) NOT NULL,
...@@ -192,6 +198,7 @@ CREATE TABLE mucMember ( ...@@ -192,6 +198,7 @@ CREATE TABLE mucMember (
CONSTRAINT mucMember_pk PRIMARY KEY (roomID, jid) CONSTRAINT mucMember_pk PRIMARY KEY (roomID, jid)
); );
CREATE TABLE mucConversationLog ( CREATE TABLE mucConversationLog (
roomID INTEGER NOT NULL, roomID INTEGER NOT NULL,
sender VARCHAR(2000) NOT NULL, sender VARCHAR(2000) NOT NULL,
...@@ -238,6 +245,7 @@ CREATE TABLE pubsubNode ( ...@@ -238,6 +245,7 @@ CREATE TABLE pubsubNode (
CONSTRAINT pubsubNode_pk PRIMARY KEY (serviceID, nodeID) CONSTRAINT pubsubNode_pk PRIMARY KEY (serviceID, nodeID)
); );
CREATE TABLE pubsubNodeJIDs ( CREATE TABLE pubsubNodeJIDs (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
nodeID VARCHAR(100) NOT NULL, nodeID VARCHAR(100) NOT NULL,
...@@ -246,6 +254,7 @@ CREATE TABLE pubsubNodeJIDs ( ...@@ -246,6 +254,7 @@ CREATE TABLE pubsubNodeJIDs (
CONSTRAINT pubsubJID_pk PRIMARY KEY (serviceID, nodeID, jid) CONSTRAINT pubsubJID_pk PRIMARY KEY (serviceID, nodeID, jid)
); );
CREATE TABLE pubsubNodeGroups ( CREATE TABLE pubsubNodeGroups (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
nodeID VARCHAR(100) NOT NULL, nodeID VARCHAR(100) NOT NULL,
...@@ -253,6 +262,7 @@ CREATE TABLE pubsubNodeGroups ( ...@@ -253,6 +262,7 @@ CREATE TABLE pubsubNodeGroups (
); );
CREATE INDEX pubsubNodeGroups_idx ON pubsubNodeGroups (serviceID, nodeID); CREATE INDEX pubsubNodeGroups_idx ON pubsubNodeGroups (serviceID, nodeID);
CREATE TABLE pubsubAffiliation ( CREATE TABLE pubsubAffiliation (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
nodeID VARCHAR(100) NOT NULL, nodeID VARCHAR(100) NOT NULL,
...@@ -261,6 +271,7 @@ CREATE TABLE pubsubAffiliation ( ...@@ -261,6 +271,7 @@ CREATE TABLE pubsubAffiliation (
CONSTRAINT pubsubAffil_pk PRIMARY KEY (serviceID, nodeID, jid) CONSTRAINT pubsubAffil_pk PRIMARY KEY (serviceID, nodeID, jid)
); );
CREATE TABLE pubsubItem ( CREATE TABLE pubsubItem (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
nodeID VARCHAR(100) NOT NULL, nodeID VARCHAR(100) NOT NULL,
...@@ -271,6 +282,7 @@ CREATE TABLE pubsubItem ( ...@@ -271,6 +282,7 @@ CREATE TABLE pubsubItem (
CONSTRAINT pubsubItem_pk PRIMARY KEY (serviceID, nodeID, id) CONSTRAINT pubsubItem_pk PRIMARY KEY (serviceID, nodeID, id)
); );
CREATE TABLE pubsubSubscription ( CREATE TABLE pubsubSubscription (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
nodeID VARCHAR(100) NOT NULL, nodeID VARCHAR(100) NOT NULL,
...@@ -290,6 +302,7 @@ CREATE TABLE pubsubSubscription ( ...@@ -290,6 +302,7 @@ CREATE TABLE pubsubSubscription (
CONSTRAINT pubsubSubs_pk PRIMARY KEY (serviceID, nodeID, id) CONSTRAINT pubsubSubs_pk PRIMARY KEY (serviceID, nodeID, id)
); );
CREATE TABLE pubsubDefaultConf ( CREATE TABLE pubsubDefaultConf (
serviceID VARCHAR(100) NOT NULL, serviceID VARCHAR(100) NOT NULL,
leaf INTEGER NOT NULL, leaf INTEGER NOT NULL,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ // $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
password VARCHAR(32), password VARCHAR(32),
encryptedPassword VARCHAR(255), encryptedPassword VARCHAR(255),
name VARCHAR(100), name VARCHAR(100),
...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate); ...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
propValue VARCHAR(4000) NOT NULL, propValue VARCHAR(4000) NOT NULL,
CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name)
...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp ( ...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
namespace VARCHAR(200) NOT NULL, namespace VARCHAR(200) NOT NULL,
value LONGVARCHAR NOT NULL, value LONGVARCHAR NOT NULL,
...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate ( ...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
messageID BIGINT NOT NULL, messageID BIGINT NOT NULL,
creationDate VARCHAR(15) NOT NULL, creationDate VARCHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline ( ...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID BIGINT NOT NULL, rosterID BIGINT NOT NULL,
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1024) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -64,7 +64,7 @@ CREATE INDEX jiveRosterGroup_rosterid_idx ON jiveRosterGroups (rosterID); ...@@ -64,7 +64,7 @@ CREATE INDEX jiveRosterGroup_rosterid_idx ON jiveRosterGroups (rosterID);
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
value LONGVARCHAR NOT NULL, value LONGVARCHAR NOT NULL,
CONSTRAINT jiveVCard_pk PRIMARY KEY (username) CONSTRAINT jiveVCard_pk PRIMARY KEY (username)
); );
...@@ -128,7 +128,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -128,7 +128,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL, isDefault INTEGER NOT NULL,
list LONGVARCHAR NOT NULL, list LONGVARCHAR NOT NULL,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ # $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
password VARCHAR(32), password VARCHAR(32),
encryptedPassword VARCHAR(255), encryptedPassword VARCHAR(255),
name VARCHAR(100), name VARCHAR(100),
...@@ -14,14 +14,14 @@ CREATE TABLE jiveUser ( ...@@ -14,14 +14,14 @@ CREATE TABLE jiveUser (
); );
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
propValue TEXT NOT NULL, propValue TEXT NOT NULL,
PRIMARY KEY (username, name) PRIMARY KEY (username, name)
); );
CREATE TABLE jiveGroup ( CREATE TABLE jiveGroup (
groupName VARCHAR(50) NOT NULL, groupName VARCHAR(50) NOT NULL,
description VARCHAR(255), description VARCHAR(255),
PRIMARY KEY (groupName) PRIMARY KEY (groupName)
); );
...@@ -41,7 +41,7 @@ CREATE TABLE jiveGroupUser ( ...@@ -41,7 +41,7 @@ CREATE TABLE jiveGroupUser (
); );
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
namespace VARCHAR(200) NOT NULL, namespace VARCHAR(200) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
...@@ -49,7 +49,7 @@ CREATE TABLE jivePrivate ( ...@@ -49,7 +49,7 @@ CREATE TABLE jivePrivate (
); );
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
messageID BIGINT NOT NULL, messageID BIGINT NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -59,7 +59,7 @@ CREATE TABLE jiveOffline ( ...@@ -59,7 +59,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID BIGINT NOT NULL, rosterID BIGINT NOT NULL,
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
jid TEXT NOT NULL, jid TEXT NOT NULL,
sub TINYINT NOT NULL, sub TINYINT NOT NULL,
ask TINYINT NOT NULL, ask TINYINT NOT NULL,
...@@ -78,7 +78,7 @@ CREATE TABLE jiveRosterGroups ( ...@@ -78,7 +78,7 @@ CREATE TABLE jiveRosterGroups (
); );
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
PRIMARY KEY (username) PRIMARY KEY (username)
); );
...@@ -117,7 +117,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -117,7 +117,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
isDefault TINYINT NOT NULL, isDefault TINYINT NOT NULL,
list TEXT NOT NULL, list TEXT NOT NULL,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
-- $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ -- $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
password VARCHAR2(32), password VARCHAR2(32),
encryptedPassword VARCHAR2(255), encryptedPassword VARCHAR2(255),
name VARCHAR2(100), name VARCHAR2(100),
...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC); ...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
name VARCHAR2(100) NOT NULL, name VARCHAR2(100) NOT NULL,
propValue VARCHAR2(1024) NOT NULL, propValue VARCHAR2(1024) NOT NULL,
CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name)
...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp ( ...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
name VARCHAR2(100) NOT NULL, name VARCHAR2(100) NOT NULL,
namespace VARCHAR2(200) NOT NULL, namespace VARCHAR2(200) NOT NULL,
value LONG NOT NULL, value LONG NOT NULL,
...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate ( ...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
messageID INTEGER NOT NULL, messageID INTEGER NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline ( ...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID INTEGER NOT NULL, rosterID INTEGER NOT NULL,
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
jid VARCHAR2(1024) NOT NULL, jid VARCHAR2(1024) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN ...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
value LONG NOT NULL, value LONG NOT NULL,
CONSTRAINT JiveVCard_pk PRIMARY KEY (username) CONSTRAINT JiveVCard_pk PRIMARY KEY (username)
); );
...@@ -123,7 +123,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -123,7 +123,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username VARCHAR2(32) NOT NULL, username VARCHAR2(64) NOT NULL,
name VARCHAR2(100) NOT NULL, name VARCHAR2(100) NOT NULL,
isDefault INTEGER NOT NULL, isDefault INTEGER NOT NULL,
list LONG NOT NULL, list LONG NOT NULL,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
-- Note: This schema has only been tested on PostgreSQL 7.3.2. -- Note: This schema has only been tested on PostgreSQL 7.3.2.
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
password VARCHAR(32), password VARCHAR(32),
encryptedPassword VARCHAR(255), encryptedPassword VARCHAR(255),
name VARCHAR(100), name VARCHAR(100),
...@@ -17,7 +17,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate); ...@@ -17,7 +17,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
propValue TEXT NOT NULL, propValue TEXT NOT NULL,
CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name)
...@@ -25,7 +25,7 @@ CREATE TABLE jiveUserProp ( ...@@ -25,7 +25,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
namespace VARCHAR(200) NOT NULL, namespace VARCHAR(200) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
...@@ -34,7 +34,7 @@ CREATE TABLE jivePrivate ( ...@@ -34,7 +34,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
messageID INTEGER NOT NULL, messageID INTEGER NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -45,7 +45,7 @@ CREATE TABLE jiveOffline ( ...@@ -45,7 +45,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(64) NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1024) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -67,7 +67,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN ...@@ -67,7 +67,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
CONSTRAINT jiveVCard_pk PRIMARY KEY (username) CONSTRAINT jiveVCard_pk PRIMARY KEY (username)
); );
...@@ -131,7 +131,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -131,7 +131,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL, username VARCHAR(64) NOT NULL,
name VARCHAR(100) NOT NULL, name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL, isDefault INTEGER NOT NULL,
list TEXT NOT NULL, list TEXT NOT NULL,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ */ /* $Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) $ */
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
password NVARCHAR(32), password NVARCHAR(32),
encryptedPassword NVARCHAR(255), encryptedPassword NVARCHAR(255),
name NVARCHAR(100), name NVARCHAR(100),
...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC); ...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
propValue NVARCHAR(2000) NOT NULL, propValue NVARCHAR(2000) NOT NULL,
CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name)
...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp ( ...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
namespace NVARCHAR(200) NOT NULL, namespace NVARCHAR(200) NOT NULL,
value NTEXT NOT NULL, value NTEXT NOT NULL,
...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate ( ...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
messageID INTEGER NOT NULL, messageID INTEGER NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline ( ...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID INTEGER NOT NULL, rosterID INTEGER NOT NULL,
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
jid NVARCHAR(1024) NOT NULL, jid NVARCHAR(1024) NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN ...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
value NTEXT NOT NULL, value NTEXT NOT NULL,
CONSTRAINT JiveVCard_pk PRIMARY KEY (username) CONSTRAINT JiveVCard_pk PRIMARY KEY (username)
); );
...@@ -129,7 +129,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -129,7 +129,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
isDefault INT NOT NULL, isDefault INT NOT NULL,
list NTEXT NOT NULL, list NTEXT NOT NULL,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* $Date: 2005-07-19 20:18:17 -0700 (Tue, 19 Jul 2005) $ */ /* $Date: 2005-07-19 20:18:17 -0700 (Tue, 19 Jul 2005) $ */
CREATE TABLE jiveUser ( CREATE TABLE jiveUser (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
password NVARCHAR(32) NULL, password NVARCHAR(32) NULL,
encryptedPassword NVARCHAR(255) NULL, encryptedPassword NVARCHAR(255) NULL,
name NVARCHAR(100) NULL, name NVARCHAR(100) NULL,
...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC); ...@@ -15,7 +15,7 @@ CREATE INDEX jiveUser_cDate_idx ON jiveUser (creationDate ASC);
CREATE TABLE jiveUserProp ( CREATE TABLE jiveUserProp (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
propValue TEXT NOT NULL, propValue TEXT NOT NULL,
CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name) CONSTRAINT jiveUserProp_pk PRIMARY KEY (username, name)
...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp ( ...@@ -23,7 +23,7 @@ CREATE TABLE jiveUserProp (
CREATE TABLE jivePrivate ( CREATE TABLE jivePrivate (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
namespace NVARCHAR(200) NOT NULL, namespace NVARCHAR(200) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate ( ...@@ -32,7 +32,7 @@ CREATE TABLE jivePrivate (
CREATE TABLE jiveOffline ( CREATE TABLE jiveOffline (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
messageID INTEGER NOT NULL, messageID INTEGER NOT NULL,
creationDate CHAR(15) NOT NULL, creationDate CHAR(15) NOT NULL,
messageSize INTEGER NOT NULL, messageSize INTEGER NOT NULL,
...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline ( ...@@ -43,7 +43,7 @@ CREATE TABLE jiveOffline (
CREATE TABLE jiveRoster ( CREATE TABLE jiveRoster (
rosterID INTEGER NOT NULL, rosterID INTEGER NOT NULL,
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
jid TEXT NOT NULL, jid TEXT NOT NULL,
sub INTEGER NOT NULL, sub INTEGER NOT NULL,
ask INTEGER NOT NULL, ask INTEGER NOT NULL,
...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN ...@@ -65,7 +65,7 @@ ALTER TABLE jiveRosterGroups ADD CONSTRAINT jiveRosterGroups_rosterID_fk FOREIGN
CREATE TABLE jiveVCard ( CREATE TABLE jiveVCard (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
value TEXT NOT NULL, value TEXT NOT NULL,
CONSTRAINT JiveVCard_pk PRIMARY KEY (username) CONSTRAINT JiveVCard_pk PRIMARY KEY (username)
); );
...@@ -129,7 +129,7 @@ CREATE TABLE jiveRemoteServerConf ( ...@@ -129,7 +129,7 @@ CREATE TABLE jiveRemoteServerConf (
); );
CREATE TABLE jivePrivacyList ( CREATE TABLE jivePrivacyList (
username NVARCHAR(32) NOT NULL, username NVARCHAR(64) NOT NULL,
name NVARCHAR(100) NOT NULL, name NVARCHAR(100) NOT NULL,
isDefault INT NOT NULL, isDefault INT NOT NULL,
list TEXT NOT NULL, list TEXT NOT 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