Permalink
Browse files

Add AVR fields for "imported from" data

  • Loading branch information...
1 parent b16cf4c commit 7709ad018754a498c8bac8109f1f9efd96791165 Joshua Tolley committed Mar 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 avr/bi/scripts/build_metadata/build_metadata_schema.sql
View
4 avr/bi/scripts/build_metadata/build_metadata_schema.sql
@@ -123,7 +123,7 @@ INSERT INTO trisano.core_columns (target_table, target_column, column_name, colu
('trisano.dw_contact_events_view', 'healthcare_worker', 'healthcare_worker', 'CE Hlthcare Wrkr', true),
('trisano.dw_contact_events_view', 'ibis_updated_at', 'ibis_updated_at', 'CE IBIS Updtd', true),
('trisano.dw_contact_events_view', 'id', 'id', '', false),
-('trisano.dw_contact_events_view', 'imported_from_code', 'imported_from_code', '', false),
+('trisano.dw_contact_events_view', 'imported_from_code', 'imported_from_code', 'CE Imp From', true),
('trisano.dw_contact_events_view', 'investigating_jurisdiction', 'investigating_jurisdiction', 'CE Inv Jur', true),
('trisano.dw_contact_events_view', 'investigating_jurisdiction_id', 'investigating_jurisdiction_id', '', false),
('trisano.dw_contact_events_view', 'investigator', 'investigator', 'CE Invstgtr', true),
@@ -332,7 +332,7 @@ INSERT INTO trisano.core_columns (target_table, target_column, column_name, colu
('trisano.dw_morbidity_events_view', 'healthcare_worker', 'healthcare_worker', 'ME Hlthcare Wrkr', true),
('trisano.dw_morbidity_events_view', 'ibis_updated_at', 'ibis_updated_at', 'ME Dt IBIS Updtd', true),
('trisano.dw_morbidity_events_view', 'id', 'id', '', false),
-('trisano.dw_morbidity_events_view', 'imported_from_code', 'imported_from_code', '', false),
+('trisano.dw_morbidity_events_view', 'imported_from_code', 'imported_from_code', 'ME Imp From', true),
('trisano.dw_morbidity_events_view', 'investigating_jurisdiction_id', 'investigating_jurisdiction_id', '', false),
('trisano.dw_morbidity_events_view', 'investigating_jurisdiction', 'investigating_jurisdiction', 'ME Inv Jur', true),
('trisano.dw_morbidity_events_view', 'investigator', 'investigator', 'ME Invstgtr', true),

0 comments on commit 7709ad0

Please sign in to comment.