-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
9,871 additions
and
22,202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
WNPRC_Compliance/resources/schemas/dbscripts/postgresql/wnprc_compliance-25.000-25.001.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS card_type text; | ||
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS date_issued timestamp; | ||
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS date_expire timestamp; | ||
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS issue_code int; | ||
|
||
ALTER TABLE wnprc_compliance.access_report_data RENAME TO access_report_data_old; | ||
|
||
|
||
DROP TABLE IF EXISTS wnprc_compliance.access_report_data; | ||
CREATE TABLE wnprc_compliance.access_report_data ( | ||
report_id TEXT, | ||
access_level TEXT, | ||
card_id TEXT, | ||
|
||
container entityid NOT NULL, | ||
createdby userid, | ||
created TIMESTAMP, | ||
modifiedby userid, | ||
modified TIMESTAMP, | ||
|
||
CONSTRAINT PK_access_report_data_new PRIMARY KEY (report_id, access_level, card_id), | ||
CONSTRAINT FK_access_report_data_access_reports_new FOREIGN KEY (report_id) REFERENCES wnprc_compliance.access_reports (report_id) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.