Skip to content

Commit

Permalink
remove address_use column
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Apr 21, 2022
1 parent e55e84e commit 9ba9f93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ancillary_codi_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ CREATE TABLE CDM.PRIVATE_ADDRESS_HISTORY
ADDRESS_CITY varchar (255) NULL,
ADDRESS_ZIP5 char(5) NULL,
ADDRESS_STATE char(2) NULL,
ADDRESS_USE char(2) NOT NULL,
ADDRESS_TYPE char(2) NOT NULL,
ADDRESS_PREFERRED char(2) NOT NULL,
CHECK (ADDRESS_STATE in ('AL','AK','AS','AZ','AR','CA',
Expand All @@ -440,7 +439,6 @@ CREATE TABLE CDM.PRIVATE_ADDRESS_HISTORY
'MO','MT','NE','NV','NH','NJ','NM','NY','NC','ND','MP','OH','OK',
'OR','PW','PA','PR','RI','SC','SD','TN','TX','UT','VT','VI','VA',
'WA','WV','WI','WY','AE','AP','AA','NI','UN','OT')),
CHECK(ADDRESS_USE in ('HO','WO','TP','OL','NI','UN','OT')),
CHECK(ADDRESS_TYPE in('PO','PH','NI','UN','OT')),
CHECK(ADDRESS_PREFERRED in('Y', 'N', 'R', 'NI', 'UN', 'OT')),
PRIMARY KEY(ADDRESSID),
Expand Down

0 comments on commit 9ba9f93

Please sign in to comment.