Skip to content
Snippets Groups Projects
Commit d2795990 authored by srosse's avatar srosse
Browse files

OO-751: copy the right SQL statement for oracle and postgresql in the right file

parent 659060f5
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,15 @@
alter table o_bs_authentication add (salt varchar(255));
alter table o_bs_authentication add (hashalgorithm varchar(16));
alter table o_info_message add message_copy varchar2(4000);
update o_info_message set message_copy = message;
Commit;
update o_info_message set message = null;
commit;
alter table o_info_message modify message long;
alter table o_info_message modify message clob;
update o_info_message set message = message_copy;
Commit;
alter table o_info_message drop column message_copy;
......@@ -3,13 +3,4 @@ alter table o_bs_authentication add column salt varchar(255) default null;
alter table o_bs_authentication add column hashalgorithm varchar(16) default null;
alter table o_info_message add message_copy varchar2(4000);
update o_info_message set message_copy = message;
Commit;
update o_info_message set message = null;
commit;
alter table o_info_message modify message long;
alter table o_info_message modify message clob;
update o_info_message set message = message_copy;
Commit;
alter table o_info_message drop column message_copy;
\ No newline at end of file
alter table o_info_message alter column message type text;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment