Commit 5e17f4a3 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Fixed very old NOT NULL add column which will cause problems with postgres 7.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10820 b35dd754-fafc-0310-a699-88a17e54d16e
parent 889c75a8
......@@ -29,7 +29,7 @@ CREATE TABLE jiveGroupUser (
);
-- mucRoom: Add new columns: "lockedDate" and "emptyDate". Rename column "invitationRequired" to "membersOnly". Delete columns: "lastActiveDate" and "inMemory".
ALTER TABLE mucRoom ADD COLUMN lockedDate CHAR(15) NOT NULL;
ALTER TABLE mucRoom ADD COLUMN lockedDate CHAR(15) NULL;
ALTER TABLE mucRoom ADD COLUMN emptyDate CHAR(15) NULL;
ALTER TABLE mucRoom RENAME COLUMN invitationRequired TO membersOnly;
ALTER TABLE mucRoom DROP COLUMN lastActiveDate;
......@@ -54,4 +54,4 @@ CREATE TABLE jiveVersion (
majorVersion INTEGER NOT NULL,
minorVersion INTEGER NOT NULL
);
INSERT INTO jiveVersion (majorVersion, minorVersion) VALUES (2, 1);
\ No newline at end of file
INSERT INTO jiveVersion (majorVersion, minorVersion) VALUES (2, 1);
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