Commit ad46c6de authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Initial version. JM-102

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3418 b35dd754-fafc-0310-a699-88a17e54d16e
parent 53ac0559
-- $RCSfile$
-- $Revision: $
-- $Date: $
-- upgrades from Wildfire 2.4.x to 2.5.0
-- Update jiveVersion to Wildfire 2.5
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
-- jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL,
name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL,
list VARCHAR(2000) NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
// $RCSfile$
// $Revision: $
// $Date: $
// upgrades from Wildfire 2.4.x to 2.5.0
// Update jiveVersion to Wildfire 2.5
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
// jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL,
name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL,
list LONGVARCHAR NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
\ No newline at end of file
# $RCSfile$
# $Revision: $
# $Date: $
# upgrades from Wildfire 2.4.x to 2.5.0
# Update jiveVersion to Wildfire 2.5
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
# jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL,
name VARCHAR(100) NOT NULL,
isDefault TINYINT NOT NULL,
list TEXT NOT NULL,
PRIMARY KEY (username, name),
INDEX jivePList_default_idx (username, isDefault)
);
\ No newline at end of file
REM // $RCSfile$
REM // $Revision: $
REM // $Date: $
REM // upgrades from Wildfire 2.4.x to 2.5.0
REM // Update jiveVersion to Wildfire 2.5
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
REM // jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username VARCHAR2(32) NOT NULL,
name VARCHAR2(100) NOT NULL,
isDefault INTEGER NOT NULL,
list LONG NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
-- $RCSfile$
-- $Revision: $
-- $Date: $
-- upgrades from Wildfire 2.4.x to 2.5.0
-- Update jiveVersion to Wildfire 2.5
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
-- jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username VARCHAR(32) NOT NULL,
name VARCHAR(100) NOT NULL,
isDefault INTEGER NOT NULL,
list TEXT NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
/* $RCSfile$ */
/* $Revision: $ */
/* $Date: $ */
/* upgrades from Wildfire 2.4.x to 2.5.0 */
/* Update jiveVersion to Wildfire 2.5 */
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
/* jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username NVARCHAR(32) NOT NULL,
name NVARCHAR(100) NOT NULL,
isDefault INT NOT NULL,
list NTEXT NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
/* $RCSfile$ */
/* $Revision: $ */
/* $Date: $ */
/* upgrades from Wildfire 2.4.x to 2.5.0 */
/* Update jiveVersion to Wildfire 2.5 */
UPDATE jiveVersion SET majorVersion=2, minorVersion=5;
/* jivePrivacyList: Create new table
CREATE TABLE jivePrivacyList (
username NVARCHAR(32) NOT NULL,
name NVARCHAR(100) NOT NULL,
isDefault INT NOT NULL,
list TEXT NOT NULL,
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
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