mirror of https://github.com/zulip/zulip.git
30 lines
964 B
Python
30 lines
964 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.5 on 2017-10-14 15:12
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('zerver', '0112_index_muted_topics'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='DefaultStreamGroup',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('name', models.CharField(db_index=True, max_length=60)),
|
||
|
('realm', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='zerver.Realm')),
|
||
|
('streams', models.ManyToManyField(to='zerver.Stream')),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterUniqueTogether(
|
||
|
name='defaultstreamgroup',
|
||
|
unique_together=set([('realm', 'name')]),
|
||
|
),
|
||
|
]
|