Commit adb36bff authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Not all postgres's (7) like this. Joy.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10816 b35dd754-fafc-0310-a699-88a17e54d16e
parent b7767d08
......@@ -16,8 +16,9 @@ CREATE TABLE mucServiceProp (
);
-- add new indexed column to mucRoom
ALTER TABLE mucRoom ADD COLUMN serviceID INTEGER NOT NULL DEFAULT 1;
ALTER TABLE mucRoom ADD COLUMN serviceID INTEGER;
CREATE INDEX mucRoom_serviceid_idx ON mucRoom (serviceID);
UPDATE mucRoom SET serviceID = 1;
-- change mucRoom primary key to be referenced around serviceID
ALTER TABLE mucRoom DROP CONSTRAINT mucRoom__pk;
......
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