Skip to content

Commit

Permalink
Update tenure_application_purp_code.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
JTA2020 committed Sep 20, 2024
1 parent 0552717 commit 8a0bcea
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions permitting/ddl/FTA/tenure_application_purp_code.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
CREATE TABLE fta_replication.tenure_application_purp_code (
tenure_application_purp_code VARCHAR(3) NOT NULL,
description VARCHAR(120) NOT NULL,
effective_date TIMESTAMP(0) NOT NULL,
expiry_date TIMESTAMP(0) NOT NULL,
update_timestamp TIMESTAMP(0) NOT NULL
CREATE TABLE THE.TENURE_APPLICATION_PURP_CODE (
TENURE_APPLICATION_PURP_CODE VARCHAR(3),
DESCRIPTION VARCHAR(120),
EFFECTIVE_DATE TIMESTAMP(0),
EXPIRY_DATE TIMESTAMP(0),
UPDATE_TIMESTAMP TIMESTAMP(0),
CONSTRAINT SYS_C0019423 CHECK ("TENURE_APPLICATION_PURP_CODE" IS NOT NULL),
CONSTRAINT SYS_C0019425 CHECK ("DESCRIPTION" IS NOT NULL),
CONSTRAINT SYS_C0019427 CHECK ("EFFECTIVE_DATE" IS NOT NULL),
CONSTRAINT SYS_C0019429 CHECK ("EXPIRY_DATE" IS NOT NULL),
CONSTRAINT SYS_C0019431 CHECK ("UPDATE_TIMESTAMP" IS NOT NULL),
CONSTRAINT TAPC_PK PRIMARY KEY (TENURE_APPLICATION_PURP_CODE)
);
CREATE UNIQUE INDEX TAPC_PK ON THE.TENURE_APPLICATION_PURP_CODE (TENURE_APPLICATION_PURP_CODE);

0 comments on commit 8a0bcea

Please sign in to comment.