diff --git a/ancillary_codi_tables.sql b/ancillary_codi_tables.sql index 8dcba0c..6d39b35 100644 --- a/ancillary_codi_tables.sql +++ b/ancillary_codi_tables.sql @@ -413,9 +413,9 @@ CREATE TABLE CDM.PRIVATE_ADDRESS_HISTORY ADDRESS_STATE char(2) NULL, ADDRESS_TYPE char(2) NOT NULL, ADDRESS_PREFERRED char(2) NOT NULL, - ADDRESS_USE char(2) NULL, - ADDRESS_ZIP9 char(9) NULL, - RAW_ADDRESS_TEXT varchar NULL, + ADDRESS_USE char(2) NULL, + ADDRESS_ZIP9 char(9) NULL, + RAW_ADDRESS_TEXT varchar NULL, CHECK (ADDRESS_STATE in ('AL','AK','AS','AZ','AR','CA', 'CO','CT','DE','DC','FM','FL','GA','GU','HI','ID', 'IL','IN','IA','KS','KY','LA','ME','MH','MD','MA','MI','MN','MS', @@ -424,7 +424,7 @@ CREATE TABLE CDM.PRIVATE_ADDRESS_HISTORY 'WA','WV','WI','WY','AE','AP','AA','NI','UN','OT')), CHECK(ADDRESS_TYPE in('PO','PH','NI','UN','OT')), CHECK(ADDRESS_PREFERRED in('Y', 'N', 'R', 'NI', 'UN', 'OT')), - CHECK(ADDRESS_USE in ('HO', 'WO', 'TP', 'OL', 'NI', 'UN', 'OT')), + CHECK(ADDRESS_USE in ('HO', 'WO', 'TP', 'OL', 'NI', 'UN', 'OT')), PRIMARY KEY(ADDRESSID), FOREIGN KEY(PATID) REFERENCES CDM.DEMOGRAPHIC (PATID) );