Commit 28f4c5af authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed jiveUser alter command.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3734 b35dd754-fafc-0310-a699-88a17e54d16e
parent a7a76b8d
......@@ -11,5 +11,5 @@ CREATE TABLE jiveVersion (
INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6);
-- Make password column accept null, add encrypted password column.
ALTER TABLE jiveUser ALTER COLUMN password NULL;
ALTER TABLE jiveuser ALTER COLUMN "password" DROP NOT NULL;
ALTER TABLE jiveUser ADD COLUMN encryptedPassword VARCHAR(255);
......@@ -11,5 +11,5 @@ CREATE TABLE jiveVersion (
INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6);
/* Make password column accept null, add encrypted password column. */
ALTER TABLE jiveUser ALTER COLUMN password NULL;
ALTER TABLE jiveUser ALTER COLUMN password NVARCHAR(32);
ALTER TABLE jiveUser ADD encryptedPassword NVARCHAR(255);
......@@ -11,5 +11,5 @@ CREATE TABLE jiveVersion (
INSERT INTO jiveVersion (name, version) VALUES ('wildfire', 6);
/* Make password column accept null, add encrypted password column. */
ALTER TABLE jiveUser MODIFY password NULL;
ALTER TABLE jiveUser MODIFY password NVARCHAR(32);
ALTER TABLE jiveUser ADD encryptedPassword NVARCHAR(255);
\ 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