diff --git a/bots/migrations/0018_overlayimage.py b/bots/migrations/0018_overlayimage.py new file mode 100644 index 0000000..c22330d --- /dev/null +++ b/bots/migrations/0018_overlayimage.py @@ -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')), + ], + ), + ] diff --git a/bots/migrations/0019_remove_overlaybotmoduleconfig_image.py b/bots/migrations/0019_remove_overlaybotmoduleconfig_image.py new file mode 100644 index 0000000..2b1548f --- /dev/null +++ b/bots/migrations/0019_remove_overlaybotmoduleconfig_image.py @@ -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', + ), + ]