Skip to content

Commit 7eaa15b

Browse files
ssuvorov-flswivern
authored andcommitted
Removed modification of string_val column (#1155) (#1397)
1 parent 6b5997d commit 7eaa15b

3 files changed

+0
-10
lines changed

src/main/resources/db/migration/oracle/V2.8.0.20190531181956__alter_job-execution-params_string-val.sql

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
44
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
55
DROP VIEW ${ohdsiSchema}.user_import_job_history;
66

7-
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ADD (clob_string_val CLOB);
8-
UPDATE ${ohdsiSchema}.batch_job_execution_params SET clob_string_val = string_val;
9-
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params DROP (string_val);
10-
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params RENAME COLUMN clob_string_val TO string_val;
11-
127
ALTER TABLE ${ohdsiSchema}.user_import_job ADD (user_roles VARCHAR);
138

149
CREATE OR REPLACE VIEW ${ohdsiSchema}.cc_generation as

src/main/resources/db/migration/postgresql/V2.8.0.20190531181956__alter_job-execution-params_string-val.sql

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
44
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
55
DROP VIEW ${ohdsiSchema}.user_import_job_history;
66

7-
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ALTER string_val TYPE VARCHAR;
8-
97
ALTER TABLE ${ohdsiSchema}.user_import_job ADD user_roles VARCHAR;
108

119
CREATE OR REPLACE VIEW ${ohdsiSchema}.cc_generation as (

src/main/resources/db/migration/sqlserver/V2.8.0.20190531181956__alter_job-execution-params_string-val.sql

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
44
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
55
DROP VIEW ${ohdsiSchema}.user_import_job_history;
66

7-
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ALTER COLUMN string_val VARCHAR(MAX);
8-
GO
9-
107
ALTER TABLE ${ohdsiSchema}.user_import_job ADD user_roles VARCHAR(MAX);
118
GO
129

0 commit comments

Comments
 (0)