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

Using default instead of table update for sqlserver and sybase.

Ordering tweaks for DB2 and Postgres.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10157 b35dd754-fafc-0310-a699-88a17e54d16e
parent df40d345
-- add isHidden column to mucService, with isHidden set to false by default
ALTER TABLE mucService ADD COLUMN isHidden INTEGER NOT NULL DEFAULT 0;
ALTER TABLE mucService ADD COLUMN isHidden INTEGER DEFAULT 0 NOT NULL;
UPDATE jiveVersion set version=18 where name = 'openfire';
\ No newline at end of file
-- add isHidden column to mucService, with isHidden set to false by default
ALTER TABLE mucService ADD COLUMN isHidden INTEGER NOT NULL DEFAULT 0;
ALTER TABLE mucService ADD COLUMN isHidden INTEGER DEFAULT 0 NOT NULL;
UPDATE jiveVersion set version=18 where name = 'openfire';
\ No newline at end of file
/* add isHidden column to mucService */
ALTER TABLE mucService ADD isHidden INT NOT NULL;
/* set all current services to isHidden = false */
UPDATE mucService set isHidden = 0;
/* add isHidden column to mucService, with isHidden set to false by default */
ALTER TABLE mucService ADD isHidden INT DEFAULT 0 NOT NULL;
UPDATE jiveVersion set version=18 where name = 'openfire';
\ No newline at end of file
/* add isHidden column to mucService */
ALTER TABLE mucService ADD COLUMN isHidden INT NOT NULL;
/* set all current services to isHidden = false */
UPDATE mucService set isHidden = 0;
/* add isHidden column to mucService, with isHidden set to false by default */
ALTER TABLE mucService ADD COLUMN isHidden INT DEFAULT 0 NOT NULL;
UPDATE jiveVersion set version=18 where name = 'openfire';
\ No newline at end of file
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