Commit 75a9ef72 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added new fields to mucRoom table.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1601 b35dd754-fafc-0310-a699-88a17e54d16e
parent 08d4fd7b
......@@ -149,6 +149,8 @@ CREATE TABLE mucRoom (
logEnabled INTEGER NOT NULL,
subject VARCHAR(100) NULL,
rolesToBroadcast INTEGER NOT NULL,
useReservedNick INTEGER NOT NULL,
canChangeNick INTEGER NOT NULL,
CONSTRAINT mucRoom_pk PRIMARY KEY (name)
);
......
......@@ -149,6 +149,8 @@ CREATE TABLE mucRoom (
logEnabled INTEGER NOT NULL,
subject VARCHAR(100) NULL,
rolesToBroadcast INTEGER NOT NULL,
useReservedNick INTEGER NOT NULL,
canChangeNick INTEGER NOT NULL,
CONSTRAINT mucRoom_pk PRIMARY KEY (name)
);
......
......@@ -138,6 +138,8 @@ CREATE TABLE mucRoom (
logEnabled TINYINT NOT NULL,
subject VARCHAR(100) NULL,
rolesToBroadcast TINYINT NOT NULL,
useReservedNick TINYINT NOT NULL,
canChangeNick TINYINT NOT NULL,
PRIMARY KEY (name),
INDEX mucRoom_roomid_idx (roomID)
);
......
......@@ -144,6 +144,8 @@ CREATE TABLE mucRoom(
logEnabled INTEGER NOT NULL,
subject VARCHAR2(100) NULL,
rolesToBroadcast INTEGER NOT NULL,
useReservedNick INTEGER NOT NULL,
canChangeNick INTEGER NOT NULL,
CONSTRAINT mucRoom_pk PRIMARY KEY (name)
);
CREATE INDEX mucRoom_roomid_idx ON mucRoom (roomID);
......
......@@ -152,6 +152,8 @@ CREATE TABLE mucRoom (
logEnabled INTEGER NOT NULL,
subject VARCHAR(100) NULL,
rolesToBroadcast INTEGER NOT NULL,
useReservedNick INTEGER NOT NULL,
canChangeNick INTEGER NOT NULL,
CONSTRAINT mucRoom__pk PRIMARY KEY (name)
);
......
......@@ -150,6 +150,8 @@ CREATE TABLE mucRoom (
logEnabled INT NOT NULL,
subject NVARCHAR(100) NULL,
rolesToBroadcast INT NOT NULL,
useReservedNick INT NOT NULL,
canChangeNick INT NOT NULL,
CONSTRAINT mucRoom__pk PRIMARY KEY (name)
);
......
......@@ -31,3 +31,6 @@ CREATE TABLE mucRoomProp (
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
);
-- mucRoom: Add new columns: "useReservedNick" and "canChangeNick".
ALTER TABLE mucRoom ADD COLUMN useReservedNick INTEGER NOT NULL;
ALTER TABLE mucRoom ADD COLUMN canChangeNick INTEGER NOT NULL;
......@@ -31,3 +31,6 @@ CREATE TABLE mucRoomProp (
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
);
// mucRoom: Add new columns: "useReservedNick" and "canChangeNick".
ALTER TABLE mucRoom ADD COLUMN useReservedNick INTEGER NOT NULL;
ALTER TABLE mucRoom ADD COLUMN canChangeNick INTEGER NOT NULL;
......@@ -31,3 +31,7 @@ CREATE TABLE mucRoomProp (
PRIMARY KEY (roomID, name)
);
# mucRoom: Add new columns: "useReservedNick" and "canChangeNick".
ALTER TABLE mucRoom ADD COLUMN useReservedNick TINYINT NOT NULL;
ALTER TABLE mucRoom ADD COLUMN canChangeNick TINYINT NOT NULL;
......@@ -30,3 +30,7 @@ CREATE TABLE mucRoomProp (
propValue VARCHAR2(1024) NOT NULL,
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
);
REM // mucRoom: Add new columns: "useReservedNick" and "canChangeNick".
ALTER TABLE mucRoom ADD useReservedNick INTEGER NOT NULL;
ALTER TABLE mucRoom ADD canChangeNick INTEGER NOT NULL;
......@@ -30,3 +30,7 @@ CREATE TABLE mucRoomProp (
propValue TEXT NOT NULL,
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
);
-- mucRoom: Add new columns: "useReservedNick" and "canChangeNick".
ALTER TABLE mucRoom ADD COLUMN useReservedNick INTEGER NOT NULL;
ALTER TABLE mucRoom ADD COLUMN canChangeNick INTEGER NOT NULL;
......@@ -30,3 +30,7 @@ CREATE TABLE mucRoomProp (
propValue NVARCHAR(2000) NOT NULL,
CONSTRAINT mucRoomProp_pk PRIMARY KEY (roomID, name)
);
/* mucRoom: Add new columns: "useReservedNick" and "canChangeNick". */
ALTER TABLE mucRoom ADD useReservedNick INT NOT NULL;
ALTER TABLE mucRoom ADD canChangeNick INT 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