openfire_sqlserver.sql 603 Bytes
Newer Older
Alex Wenckus's avatar
Alex Wenckus committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* $Revision:  $                           */
/* $Date:  $               */

/* Update jiveVersion to Openfire 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);