Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
rolled back i2b2 db colums types to original values
Browse files Browse the repository at this point in the history
  • Loading branch information
f-marino committed Sep 13, 2022
1 parent e7a2a12 commit a3423f1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions build/package/i2b2/sql/10-i2b2-modifications.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,5 @@ psql $PSQL_PARAMS -d "$I2B2_DB_NAME" <<-EOSQL
ALTER TABLE i2b2demodata.modifier_dimension ALTER COLUMN modifier_path TYPE varchar(2000);
-- increase size of concept_path in the concept_dimension table
ALTER TABLE i2b2demodata.concept_dimension ALTER COLUMN concept_path TYPE varchar(2000);
-- increase size of concept_cd in the concept_dimension table
ALTER TABLE i2b2demodata.concept_dimension ALTER COLUMN concept_cd TYPE varchar(2000);
-- increase size of encounter_num values (too large for type INT)
ALTER TABLE i2b2demodata.visit_dimension ALTER COLUMN encounter_num TYPE bigint;
ALTER TABLE i2b2demodata.observation_fact ALTER COLUMN encounter_num TYPE bigint;
ALTER TABLE i2b2demodata.encounter_mapping ALTER COLUMN encounter_num TYPE bigint;
-- change tval_char to type text
ALTER TABLE i2b2demodata.observation_fact ALTER COLUMN tval_char TYPE text;
EOSQL

0 comments on commit a3423f1

Please sign in to comment.