Skip to content

Commit

Permalink
Add additional where to update
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-funk committed Oct 11, 2024
1 parent 996f87e commit 762d121
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions migrations/migrations/R__Create-Test-Data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1956,8 +1956,13 @@ DO NOTHING;
-- Fix keycloak name
UPDATE
public.officer
SET user_id = 'JONFUNK'
WHERE officer_guid = 'b17ee2c1-a26b-4911-ac6f-810b8fdfaab3';
SET
user_id = 'JONFUNK'
WHERE
(
officer_guid = 'b17ee2c1-a26b-4911-ac6f-810b8fdfaab3'
AND user_id = 'JFUNK'
);

INSERT INTO
public.officer (
Expand Down

0 comments on commit 762d121

Please sign in to comment.