mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
migrations: Fix text version to Custom Emoji.
The fact that we need to do this is basically a Django bug; these strings aren't used in the database itself.
This commit is contained in:
@@ -44,7 +44,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name='reaction',
|
||||
name='reaction_type',
|
||||
field=models.CharField(choices=[('unicode_emoji', 'Unicode emoji'), ('realm_emoji', 'Realm emoji'), ('zulip_extra_emoji', 'Zulip extra emoji')], default='unicode_emoji', max_length=30),
|
||||
field=models.CharField(choices=[('unicode_emoji', 'Unicode emoji'), ('realm_emoji', 'Custom emoji'), ('zulip_extra_emoji', 'Zulip extra emoji')], default='unicode_emoji', max_length=30),
|
||||
),
|
||||
migrations.RunPython(populate_new_fields,
|
||||
reverse_code=migrations.RunPython.noop),
|
||||
|
||||
Reference in New Issue
Block a user