# Generated by Django 3.1.3 on 2020-11-08 17:38

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


class Migration(migrations.Migration):

    dependencies = [
        ('bot', '0036_auto_20200906_1605'),
    ]

    operations = [
        migrations.CreateModel(
            name='SelfDestructingMessage',
            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)),
                ('duration_seconds', models.BigIntegerField()),
                ('chat_id', models.IntegerField()),
                ('message_id', models.IntegerField()),
                ('telegram_bot', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='self_destructing_messages', to='bot.telegramuserbots')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
