2017-08-30 02:19:34 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.11.4 on 2017-08-30 00:26
|
2017-11-16 00:44:00 +01:00
|
|
|
import django.db.models.deletion
|
2017-08-30 02:19:34 +02:00
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2017-08-30 02:19:34 +02:00
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('zerver', '0100_usermessage_remove_is_me_message'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='MutedTopic',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('topic_name', models.CharField(max_length=60)),
|
|
|
|
('recipient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='zerver.Recipient')),
|
|
|
|
('stream', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='zerver.Stream')),
|
|
|
|
('user_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
|
|
],
|
2018-05-16 04:11:22 +02:00
|
|
|
bases=(models.Model,),
|
2017-08-30 02:19:34 +02:00
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
|
|
|
name='mutedtopic',
|
|
|
|
unique_together=set([('user_profile', 'stream', 'topic_name')]),
|
|
|
|
),
|
|
|
|
]
|