Files
zulip/zerver/migrations/0084_realmemoji_deactivated.py
Harshit Bansal e85c11a461 models: Add deactivated field to RealmEmoji model.
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.
2017-06-15 02:59:57 -07:00

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),
),
]