zulip/zerver/migrations/0120_botuserconfigdata.py

29 lines
909 B
Python
Raw Normal View History

# Generated by Django 1.11.6 on 2017-11-01 19:12
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2017-11-17 09:38:13 +01:00
('zerver', '0119_userprofile_night_mode'),
]
operations = [
migrations.CreateModel(
name='BotUserConfigData',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.TextField(db_index=True)),
('value', models.TextField()),
('bot_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.AlterUniqueTogether(
name='botuserconfigdata',
unique_together={('bot_profile', 'key')},
),
]