Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CE-1118): add Jon as officer to test and prod data #688

Merged
merged 5 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions migrations/migrations/R__Create-Test-Data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,32 @@ VALUES
) ON CONFLICT
DO NOTHING;

INSERT INTO
public.person (
person_guid,
first_name,
middle_name_1,
middle_name_2,
last_name,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
VALUES
(
'97f3cee5-6f4a-410f-810f-d431595fccee'::uuid,
'Jonathan',
NULL,
NULL,
'Funk',
'FLYWAY',
'2023-06-29 22:16:16.754',
'FLYWAY',
'2023-06-29 22:16:16.754'
) ON CONFLICT
DO NOTHING;

INSERT INTO
public.person (
person_guid,
Expand Down Expand Up @@ -1876,6 +1902,32 @@ VALUES
) ON CONFLICT
DO NOTHING;

INSERT INTO
public.officer (
officer_guid,
user_id,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp,
person_guid,
office_guid,
auth_user_guid
)
VALUES
(
'b17ee2c1-a26b-4911-ac6f-810b8fdfaab3'::uuid,
'JFUNK',
'FLYWAY',
'2023-06-29 22:16:16.754',
'FLYWAY',
'2024-01-22 22:20:48.186',
'97f3cee5-6f4a-410f-810f-d431595fccee'::uuid,
'c3d8519c-73cb-48a1-8058-358883d5ef4f'::uuid,
'f896cbb2d5254e54a4ad581dc80681d1'::uuid
) ON CONFLICT
DO NOTHING;

INSERT INTO
public.officer (
officer_guid,
Expand Down
9 changes: 9 additions & 0 deletions migrations/test-only-migrations/R__Test-Data-Creation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ VALUES('17439e37-ca97-4031-a009-b23ca58c21e1'::uuid, 'Jeremy', NULL, NULL, 'Duns
ON CONFLICT DO NOTHING;
INSERT INTO public.person
(person_guid, first_name, middle_name_1, middle_name_2, last_name, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp)
VALUES('97f3cee5-6f4a-410f-810f-d431595fccee'::uuid, 'Jonathan', NULL, NULL, 'Funk', 'FLYWAY', '2023-06-29 22:16:16.754', 'FLYWAY', '2023-06-29 22:16:16.754')
ON CONFLICT DO NOTHING;
INSERT INTO public.person
(person_guid, first_name, middle_name_1, middle_name_2, last_name, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp)
VALUES('0667495f-61a5-4d3b-b756-1ee58cb38e23'::uuid, 'Ryan', NULL, NULL, 'Rondeau', 'FLYWAY', '2024-01-22 22:16:16.754', 'FLYWAY', '2024-01-22 22:16:16.754')
ON CONFLICT DO NOTHING;

Expand Down Expand Up @@ -458,6 +462,10 @@ VALUES('623fbd02-dff5-4d45-9ab3-f0acbe8d83ed'::uuid, 'JXDUNSDO', 'FLYWAY', '2024
ON CONFLICT DO NOTHING;
INSERT INTO public.officer
(officer_guid, user_id, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp, person_guid, office_guid, auth_user_guid)
VALUES('b17ee2c1-a26b-4911-ac6f-810b8fdfaab3'::uuid, 'JFUNK', 'FLYWAY', '2024-01-22 22:16:16.754', 'FLYWAY', '2024-01-22 22:20:48.186', '97f3cee5-6f4a-410f-810f-d431595fccee'::uuid, '4a5a94b1-bd47-4611-a577-861d97089903'::uuid, 'f896cbb2d5254e54a4ad581dc80681d1'::uuid)
ON CONFLICT DO NOTHING;
INSERT INTO public.officer
(officer_guid, user_id, create_user_id, create_utc_timestamp, update_user_id, update_utc_timestamp, person_guid, office_guid, auth_user_guid)
VALUES('06ff894b-3895-4d32-8a4a-1fcc0be23e47'::uuid, 'RRONDEAU', 'FLYWAY', '2024-01-22 22:16:16.754', 'FLYWAY', '2024-01-22 22:20:48.186', '0667495f-61a5-4d3b-b756-1ee58cb38e23'::uuid, '4a5a94b1-bd47-4611-a577-861d97089903'::uuid, '77c6040d69b74757903f1cba37404db4'::uuid)
ON CONFLICT DO NOTHING;
--------------------------------
Expand All @@ -478,6 +486,7 @@ UPDATE public.officer SET office_guid = '313f4ec3-e88a-41c2-9956-78c7b18cb71d' W
UPDATE public.officer SET office_guid = 'db343458-8eca-42c2-91ec-070b3e6de663' WHERE user_id='TSPRADO';
UPDATE public.officer SET office_guid = 'db343458-8eca-42c2-91ec-070b3e6de663' WHERE user_id='M2SEARS';
UPDATE public.officer SET office_guid = '79fe321b-7716-413f-b878-c5fd6100317d' WHERE user_id='GRLAVERY';
UPDATE public.officer SET office_guid = '9fc7327b-b206-4a5c-88f1-2875a456eb49' WHERE user_id='JFUNK';
UPDATE public.officer SET office_guid = '4a5a94b1-bd47-4611-a577-861d97089903' WHERE user_id='RRONDEAU';

-------------------------
Expand Down
Loading