add migrations
This commit is contained in:
parent
a5c4dfa7f5
commit
f6fe204826
22
bots/migrations/0018_overlayimage.py
Normal file
22
bots/migrations/0018_overlayimage.py
Normal 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')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
]
|
17
bots/migrations/0019_remove_overlaybotmoduleconfig_image.py
Normal file
17
bots/migrations/0019_remove_overlaybotmoduleconfig_image.py
Normal 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',
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user