Skip to content

Commit

Permalink
Make pure-SQL line in api_user.display_name migration elidable
Browse files Browse the repository at this point in the history
Co-authored-by: jchristgit <jc@jchri.st>
  • Loading branch information
jb3 and jchristgit committed Apr 1, 2024
1 parent 4020ffd commit b1b0fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/api/migrations/0095_user_display_name.py
Expand Up @@ -14,5 +14,5 @@ class Migration(migrations.Migration):
name="display_name",
field=models.CharField(blank=True, help_text="The display name, taken from Discord.", max_length=32),
),
migrations.RunSQL("UPDATE api_user SET display_name = name;"),
migrations.RunSQL("UPDATE api_user SET display_name = name;", elidable=True),
]

0 comments on commit b1b0fb1

Please sign in to comment.