generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from bcgov/ftp-additions
add user table & auto-notify on validation failure
- Loading branch information
Showing
7 changed files
with
126 additions
and
29 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CREATE TABLE IF NOT EXISTS enmods.ftp_users ( | ||
id SERIAL PRIMARY KEY, | ||
username varchar(200) NOT NULL UNIQUE, | ||
email varchar(200) NOT NULL, | ||
create_user_id varchar(200) NOT NULL, | ||
create_utc_timestamp timestamp NOT NULL, | ||
update_user_id varchar(200) NOT NULL, | ||
update_utc_timestamp timestamp NOT NULL | ||
); | ||
INSERT INTO enmods.ftp_users ( | ||
username, | ||
email, | ||
create_user_id, | ||
create_utc_timestamp, | ||
update_user_id, | ||
update_utc_timestamp | ||
) | ||
VALUES ( | ||
'mtennant', | ||
'[email protected]', | ||
'system', | ||
(now() at time zone 'utc'), | ||
'system', | ||
(now() at time zone 'utc') | ||
); |