28 lines
822 B
Python
28 lines
822 B
Python
|
# Generated by Django 2.2.6 on 2019-11-07 16:28
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('recipes', '0002_recipe_protocol'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.RemoveField(
|
||
|
model_name='recipe',
|
||
|
name='protocol',
|
||
|
),
|
||
|
migrations.CreateModel(
|
||
|
name='Step',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('step', models.PositiveSmallIntegerField()),
|
||
|
('protocol', models.TextField(default='')),
|
||
|
('recipe', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='recipes.Recipe')),
|
||
|
],
|
||
|
),
|
||
|
]
|