mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
Instead of deleting the emojis we will just mark them as `deactivated`. This will prevent their further use but at the same time they will be displayed properly in the reactions and messages in which they are used. This field will be used as a flag to indicate whether the realm emoji has been deleted or not. Includes a database migration.
21 lines
471 B
Python
21 lines
471 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.5 on 2017-05-22 14:49
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0083_index_mentioned_user_messages'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='realmemoji',
|
|
name='deactivated',
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
]
|