mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
# Generated by Django 3.2.11 on 2022-02-02 19:40
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('cookbook', '0170_alter_ingredient_unit'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='food',
|
|
name='substitute',
|
|
field=models.ManyToManyField(blank=True, related_name='_cookbook_food_substitute_+', to='cookbook.Food'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='food',
|
|
name='substitute_children',
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
migrations.AddField(
|
|
model_name='food',
|
|
name='substitute_siblings',
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='ingredient',
|
|
name='unit',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='cookbook.unit'),
|
|
),
|
|
]
|