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
...@@ -56,4 +56,6 @@ CREATE TABLE jiveVersion ( ...@@ -56,4 +56,6 @@ CREATE TABLE jiveVersion (
majorVersion INTEGER NOT NULL, majorVersion INTEGER NOT NULL,
minorVersion INTEGER NOT NULL minorVersion INTEGER NOT NULL
); );
INSERT INTO jiveVersion (majorVersion, minorVersion) VALUES (2, 1); INSERT INTO jiveVersion (majorVersion, minorVersion) VALUES (2, 1);
\ No newline at end of file
commit;
\ No newline at end of file
...@@ -44,3 +44,5 @@ CREATE TABLE jiveVCard ( ...@@ -44,3 +44,5 @@ CREATE TABLE jiveVCard (
value LONG NOT NULL, value LONG NOT NULL,
CONSTRAINT JiveVCard_pk PRIMARY KEY (username) CONSTRAINT JiveVCard_pk PRIMARY KEY (username)
); );
commit;
\ No newline at end of file
...@@ -6,3 +6,5 @@ UPDATE jiveVersion SET majorVersion=2, minorVersion=4; ...@@ -6,3 +6,5 @@ UPDATE jiveVersion SET majorVersion=2, minorVersion=4;
-- jiveGroupUser: Alter length of username column -- jiveGroupUser: Alter length of username column
ALTER TABLE jiveGroupUser MODIFY username VARCHAR2(100) NOT NULL; ALTER TABLE jiveGroupUser MODIFY username VARCHAR2(100) NOT NULL;
commit;
\ No newline at end of file
...@@ -13,3 +13,5 @@ CREATE TABLE jivePrivacyList ( ...@@ -13,3 +13,5 @@ CREATE TABLE jivePrivacyList (
CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name) CONSTRAINT jivePrivacyList_pk PRIMARY KEY (username, name)
); );
CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault); CREATE INDEX jivePList_default_idx ON jivePrivacyList (username, isDefault);
commit;
\ No newline at end of file
...@@ -12,4 +12,6 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6); ...@@ -12,4 +12,6 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6);
-- Make password column accept null, add encrypted password column. -- Make password column accept null, add encrypted password column.
ALTER TABLE jiveUser MODIFY password VARCHAR2(32) NULL; ALTER TABLE jiveUser MODIFY password VARCHAR2(32) NULL;
ALTER TABLE jiveUser ADD encryptedPassword VARCHAR(255); ALTER TABLE jiveUser ADD encryptedPassword VARCHAR(255);
\ No newline at end of file
commit;
\ No newline at end of file
...@@ -100,4 +100,6 @@ CREATE TABLE pubsubDefaultConf ( ...@@ -100,4 +100,6 @@ CREATE TABLE pubsubDefaultConf (
CONSTRAINT pubsubDefConf_pk PRIMARY KEY (serviceID, leaf) CONSTRAINT pubsubDefConf_pk PRIMARY KEY (serviceID, leaf)
); );
UPDATE jiveVersion set version=7 where name = 'wildfire'; UPDATE jiveVersion set version=7 where name = 'wildfire';
\ No newline at end of file
commit;
\ No newline at end of file
...@@ -25,3 +25,5 @@ CREATE TABLE pubsubNodeGroups ( ...@@ -25,3 +25,5 @@ CREATE TABLE pubsubNodeGroups (
CREATE INDEX pubsubNodeGroups_idx ON pubsubNodeGroups (serviceID, nodeID); CREATE INDEX pubsubNodeGroups_idx ON pubsubNodeGroups (serviceID, nodeID);
UPDATE jiveVersion set version=8 where name = 'wildfire'; 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); ...@@ -11,3 +11,5 @@ ALTER TABLE jiveVCard MODIFY username VARCHAR2(64);
ALTER TABLE jivePrivacyList MODIFY username VARCHAR2(64); ALTER TABLE jivePrivacyList MODIFY username VARCHAR2(64);
UPDATE jiveVersion set version=9 where name = 'wildfire'; UPDATE jiveVersion set version=9 where name = 'wildfire';
commit;
\ No newline at end of file
...@@ -315,4 +315,6 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 9); ...@@ -315,4 +315,6 @@ INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 9);
-- Entry for admin user -- Entry for admin user
INSERT INTO jiveUser (username, password, name, email, creationDate, modificationDate) INSERT INTO jiveUser (username, password, name, email, creationDate, modificationDate)
VALUES ('admin', 'admin', 'Administrator', 'admin@example.com', '0', '0'); VALUES ('admin', 'admin', 'Administrator', 'admin@example.com', '0', '0');
\ No newline at end of file
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