mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
29 lines
833 B
Python
29 lines
833 B
Python
|
# Generated by Django 2.2.28 on 2024-08-13 21:58
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('food', '0003_create_14_allergens_mandatory'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.RemoveField(
|
||
|
model_name='transformedfood',
|
||
|
name='is_active',
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='food',
|
||
|
name='is_active',
|
||
|
field=models.BooleanField(default=True, verbose_name='is active'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='qrcode',
|
||
|
name='food_container',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='QR_code', to='food.Food', verbose_name='food container'),
|
||
|
),
|
||
|
]
|