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

Added COMMIT statement. JM-736

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4137 b35dd754-fafc-0310-a699-88a17e54d16e
parent 509dc406
......@@ -57,3 +57,5 @@ CREATE TABLE jiveVersion (
minorVersion INTEGER NOT NULL
);
INSERT INTO jiveVersion (majorVersion, minorVersion) VALUES (2, 1);
commit;
\ No newline at end of file
......@@ -44,3 +44,5 @@ CREATE TABLE jiveVCard (
value LONG NOT NULL,
CONSTRAINT JiveVCard_pk PRIMARY KEY (username)
);
commit;
\ No newline at end of file
......@@ -6,3 +6,5 @@ UPDATE jiveVersion SET majorVersion=2, minorVersion=4;
-- jiveGroupUser: Alter length of username column
ALTER TABLE jiveGroupUser MODIFY username VARCHAR2(100) NOT NULL;
commit;
\ No newline at end of file
......@@ -13,3 +13,5 @@ CREATE TABLE jivePrivacyList (
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
);
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
commit;
\ No newline at end of file
......@@ -13,3 +13,5 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6);
-- Make password column accept null, add encrypted password column.
ALTER TABLE jiveUser MODIFY password VARCHAR2(32) NULL;
ALTER TABLE jiveUser ADD encryptedPassword VARCHAR(255);
commit;
\ No newline at end of file
......@@ -101,3 +101,5 @@ CREATE TABLE pubsubDefaultConf (
);
UPDATE jiveVersion set version=7 where name = 'wildfire';
commit;
\ No newline at end of file
......@@ -25,3 +25,5 @@ CREATE TABLE pubsubNodeGroups (
CREATE INDEX pubsubNodeGroups_idx ON pubsubNodeGroups (serviceID, nodeID);
UPDATE jiveVersion set version=8 where name = 'wildfire';
commit;
\ No newline at end of file
......@@ -11,3 +11,5 @@ ALTER TABLE jiveVCard MODIFY username VARCHAR2(64);
ALTER TABLE jivePrivacyList MODIFY username VARCHAR2(64);
UPDATE jiveVersion set version=9 where name = 'wildfire';
commit;
\ No newline at end of file
......@@ -316,3 +316,5 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 9);
-- Entry for admin user
INSERT INTO jiveUser (username, password, name, email, creationDate, modificationDate)
VALUES ('admin', 'admin', 'Administrator', 'admin@example.com', '0', '0');
commit;
\ 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