Skip to content

Commit

Permalink
Match on projc.id = team.id
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes authored Dec 3, 2024
1 parent 8a6da42 commit ae4632f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/migrations/0525_project_name_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Migration(migrations.Migration):
UPDATE posthog_project AS proj
SET name = team.name
FROM posthog_team AS team
WHERE proj.id = team.project_id AND proj.name != team.name""",
WHERE proj.id = team.id AND proj.name != team.name""",
reverse_sql=migrations.RunSQL.noop,
elidable=True,
),
Expand Down

0 comments on commit ae4632f

Please sign in to comment.