Skip to content

Commit

Permalink
Removed modification of string_val column (#1155) (#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuvorov-fls authored and wivern committed Dec 19, 2019
1 parent 6b5997d commit 7eaa15b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
DROP VIEW ${ohdsiSchema}.user_import_job_history;

ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ADD (clob_string_val CLOB);
UPDATE ${ohdsiSchema}.batch_job_execution_params SET clob_string_val = string_val;
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params DROP (string_val);
ALTER TABLE ${ohdsiSchema}.batch_job_execution_params RENAME COLUMN clob_string_val TO string_val;

ALTER TABLE ${ohdsiSchema}.user_import_job ADD (user_roles VARCHAR);

CREATE OR REPLACE VIEW ${ohdsiSchema}.cc_generation as
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
DROP VIEW ${ohdsiSchema}.user_import_job_history;

ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ALTER string_val TYPE VARCHAR;

ALTER TABLE ${ohdsiSchema}.user_import_job ADD user_roles VARCHAR;

CREATE OR REPLACE VIEW ${ohdsiSchema}.cc_generation as (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ DROP VIEW ${ohdsiSchema}.pathway_analysis_generation;
DROP VIEW ${ohdsiSchema}.prediction_analysis_generation;
DROP VIEW ${ohdsiSchema}.user_import_job_history;

ALTER TABLE ${ohdsiSchema}.batch_job_execution_params ALTER COLUMN string_val VARCHAR(MAX);
GO

ALTER TABLE ${ohdsiSchema}.user_import_job ADD user_roles VARCHAR(MAX);
GO

Expand Down

0 comments on commit 7eaa15b

Please sign in to comment.