<reponame>leichandra/mealplanshop<filename>agenda/migrations/0001_initial.py
# Generated by Django 3.1.6 on 2021-03-29 04:58

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('recipe', '0002_auto_20210328_0406'),
    ]

    operations = [
        migrations.CreateModel(
            name='Agenda',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateField()),
                ('breakfast_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='breakfast_agenda_set', to='recipe.recipe')),
                ('dinner_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='dinner_agenda_set', to='recipe.recipe')),
                ('lunch_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='lunch_agenda_set', to='recipe.recipe')),
            ],
            options={
                'db_table': 'agenda',
            },
        ),
    ]

# Generated by Django 3.1.6 on 2021-03-29 04:58

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('recipe', '0002_auto_20210328_0406'),
    ]

    operations = [
        migrations.CreateModel(
            name='Agenda',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateField()),
                ('breakfast_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='breakfast_agenda_set', to='recipe.recipe')),
                ('dinner_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='dinner_agenda_set', to='recipe.recipe')),
                ('lunch_recipe', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='lunch_agenda_set', to='recipe.recipe')),
            ],
            options={
                'db_table': 'agenda',
            },
        ),
    ]
# Generated by Django 3.1.6 on 2021-03-29 04:58