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.
- Loading branch information
Showing
2 changed files
with
29 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
DROP TABLE if exists ftp_users; | ||
CREATE TABLE ftp_users ( | ||
DROP TABLE enmods.ftp_users; | ||
|
||
CREATE TABLE enmods.ftp_users ( | ||
id SERIAL PRIMARY KEY, | ||
username VARCHAR(255) NOT NULL UNIQUE, | ||
name VARCHAR(255) NOT NULL, | ||
email VARCHAR(255) NOT NULL, | ||
org_guid UUID NOT NULL, | ||
create_user_id VARCHAR(255), | ||
create_utc_timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | ||
update_user_id VARCHAR(255), | ||
update_utc_timestamp TIMESTAMP | ||
); | ||
|
||
|
||
insert into ftp_users (username, name, email, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp) values ('testorg', 'Test Organization', '[email protected]', 'system', NOW(), 'system', NOW()); | ||
insert into enmods.ftp_users (username, name, email, org_guid, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp) values ('testorg', 'Test Organization', '[email protected]', '56e90a60-b00f-4c78-9a88-4c32e6087829', 'system', NOW(), 'system', NOW()); |