# Generated by Django 3.0.8 on 2020-07-09 23:18

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


class Migration(migrations.Migration):

    dependencies = [
        ('bot', '0009_auto_20200709_2146'),
    ]

    operations = [
        migrations.RenameField(
            model_name='telegramuserbots',
            old_name='reminder',
            new_name='name',
        ),
        migrations.RemoveField(
            model_name='grouppreferences',
            name='restrict_to_owner',
        ),
        migrations.AlterField(
            model_name='pendingcaptchauser',
            name='group',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='users_with_pending_captcha', to='bot.TelegramGroup'),
        ),
        migrations.AlterField(
            model_name='pendingcaptchauser',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='pending_captchas', to='bot.TelegramUser'),
        ),
        migrations.AlterField(
            model_name='telegramuserbots',
            name='owner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bots', to='bot.TelegramUser'),
        ),
    ]
