Skip to content

Commit

Permalink
fixup! users: Fix public_id being not really unique
Browse files Browse the repository at this point in the history
  • Loading branch information
rsebille committed Jun 12, 2024
1 parent f2c0011 commit 4be1dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itou/users/migrations/0008_fix_user_public_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.RunSQL(
"""
UPDATE users_user
SET public_id = uuid_generate_v4()
SET public_id = gen_random_uuid()
WHERE public_id = '09cbdf0f-cbba-4ef7-91b2-18eba95aacf2'""",
reverse_sql="""
UPDATE users_user
Expand Down

0 comments on commit 4be1dd6

Please sign in to comment.