Skip to content

Commit 5072c4d

Browse files
siennathesaneChris Stockton
authored andcommitted
fix: correct casting order for identity backfill migration
1 parent 5f2b660 commit 5072c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/20221208132122_backfill_email_last_sign_in_at.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ update {{ index .Options "Namespace" }}.identities
99
created_at = '2022-11-25' and
1010
updated_at = '2022-11-25' and
1111
provider = 'email' and
12-
id = user_id::text;
12+
id::text = user_id::text;
1313
end $$;

0 commit comments

Comments
 (0)