telegram_bots/bots/migrations/0018_overlayimage.py

23 lines
700 B
Python
Raw Normal View History

2020-02-10 15:58:09 +00:00
# Generated by Django 3.0rc1 on 2020-02-10 15:17
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('bots', '0017_auto_20191128_0012'),
]
operations = [
migrations.CreateModel(
name='OverlayImage',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('image', models.ImageField(upload_to='')),
('config', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='images', to='bots.OverlayBotModuleConfig')),
],
),
]