Commit 218598fe authored by Hal Deadman's avatar Hal Deadman

fix Oracle DDL to use varchar2 and fix alter statements

alter statements (at least in oracle 11g or earlier) do not allow the
COLUMN keyword after ADD in an ALTER statement
parent 2719cf22
// add columns for SASL SCRAM-SHA-1 // add columns for SASL SCRAM-SHA-1
ALTER TABLE ofUser ADD COLUMN storedKey VARCHAR(32); ALTER TABLE ofUser ADD storedKey VARCHAR2(32);
ALTER TABLE ofUser ADD COLUMN serverKey VARCHAR(32); ALTER TABLE ofUser ADD serverKey VARCHAR2(32);
ALTER TABLE ofUser ADD COLUMN salt VARCHAR(32); ALTER TABLE ofUser ADD salt VARCHAR2(32);
ALTER TABLE ofUser ADD COLUMN iterations INTEGER; ALTER TABLE ofUser ADD iterations INTEGER;
UPDATE ofVersion SET version = 22 WHERE name = 'openfire'; UPDATE ofVersion SET version = 22 WHERE name = 'openfire';
......
ALTER TABLE ofMucRoom ADD COLUMN allowpm INTEGER NULL; ALTER TABLE ofMucRoom ADD allowpm INTEGER NULL;
UPDATE ofVersion SET version = 23 WHERE name = 'openfire'; UPDATE ofVersion SET version = 23 WHERE name = 'openfire';
COMMIT; COMMIT;
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