add migrations

This commit is contained in:
bakatrouble 2020-02-10 18:58:09 +03:00
parent a5c4dfa7f5
commit f6fe204826
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# 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')),
],
),
]

View File

@ -0,0 +1,17 @@
# Generated by Django 3.0rc1 on 2020-02-10 15:57
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bots', '0018_overlayimage'),
]
operations = [
migrations.RemoveField(
model_name='overlaybotmoduleconfig',
name='image',
),
]