# Generated by Django 3.1.1 on 2020-09-01 19:05

from django.db import migrations, models
import django.db.models.deletion
import uuid


class Migration(migrations.Migration):

    dependencies = [
        ('bot', '0034_auto_20200828_0518'),
    ]

    operations = [
        migrations.AddField(
            model_name='grouppreferences',
            name='access_control_use',
            field=models.BooleanField(blank=True, default=False),
        ),
        migrations.CreateModel(
            name='GroupAccessControlGrant',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('modified', models.DateTimeField(auto_now=True)),
                ('uuid', models.UUIDField(default=uuid.uuid4, editable=False)),
                ('allows', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='preferences_access_control_grants', to='bot.telegramuser')),
                ('group_preferences', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='access_control_grants', to='bot.grouppreferences')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
