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 ( ...@@ -29,7 +29,7 @@ CREATE TABLE jiveGroupUser (
); );
-- mucRoom: Add new columns: "lockedDate" and "emptyDate". Rename column "invitationRequired" to "membersOnly". Delete columns: "lastActiveDate" and "inMemory". -- 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 ADD COLUMN emptyDate CHAR(15) NULL;
ALTER TABLE mucRoom RENAME COLUMN invitationRequired TO membersOnly; ALTER TABLE mucRoom RENAME COLUMN invitationRequired TO membersOnly;
ALTER TABLE mucRoom DROP COLUMN lastActiveDate; ALTER TABLE mucRoom DROP COLUMN lastActiveDate;
......
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