24 lines
785 B
Python
24 lines
785 B
Python
# Generated by Django 3.2.6 on 2021-10-02 11:26
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [('recipe', '0001_initial')]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='recipe', name='recipe_type', field=models.CharField(default='meat', max_length=32)
|
|
),
|
|
migrations.CreateModel(
|
|
name='DailyRecipe',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('date', models.DateField()),
|
|
('meal_type', models.CharField(default='supper', max_length=32)),
|
|
('recipes', models.ManyToManyField(to='recipe.Recipe')),
|
|
],
|
|
),
|
|
]
|