Commit 7383a19d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed primary key creation in muc tables.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@392 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9c4d0c35
......@@ -145,7 +145,7 @@ CREATE TABLE mucRoom (
rolesToBroadcast INTEGER NOT NULL,
lastActiveDate CHAR(15) NULL,
inMemory INTEGER NOT NULL,
PRIMARY KEY (name)
CONSTRAINT mucRoom_pk PRIMARY KEY (name)
);
CREATE INDEX mucRoom_roomid_idx ON mucRoom(roomID);
......@@ -154,14 +154,14 @@ CREATE TABLE mucAffiliation (
roomID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL,
affiliation INTEGER NOT NULL,
PRIMARY KEY (roomID, jid)
CONSTRAINT mucAffiliation_pk PRIMARY KEY (roomID, jid)
);
CREATE TABLE mucMember (
roomID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL,
nickname VARCHAR(255) NULL,
PRIMARY KEY (roomID, jid)
CONSTRAINT mucMember_pk PRIMARY KEY (roomID, jid)
);
CREATE TABLE mucConversationLog (
......
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