# Generated by Django 3.2 on 2021-04-19 19:04

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Fridge',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='fridges', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Ingredient',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('date_added', models.DateField(auto_now_add=True)),
                ('expiry_date', models.DateField()),
                ('used', models.BooleanField(default=False)),
                ('fridge', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ingredients', to='fridge_app.fridge')),
            ],
        ),
    ]

88146a509048d72b1ed9120c8bfe24fbef34f633
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Fridge', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=64
        )), ('user', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='fridges', to=settings.AUTH_USER_MODEL))]),
        migrations.CreateModel(name='Ingredient', fields=[('id', models.
        BigAutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=64)), (
        'date_added', models.DateField(auto_now_add=True)), ('expiry_date',
        models.DateField()), ('used', models.BooleanField(default=False)),
        ('fridge', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='ingredients', to='fridge_app.fridge'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Fridge', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=64
        )), ('user', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='fridges', to=settings.AUTH_USER_MODEL))]),
        migrations.CreateModel(name='Ingredient', fields=[('id', models.
        BigAutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=64)), (
        'date_added', models.DateField(auto_now_add=True)), ('expiry_date',
        models.DateField()), ('used', models.BooleanField(default=False)),
        ('fridge', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, related_name='ingredients', to='fridge_app.fridge'))])]

# Generated by Django 3.2 on 2021-04-19 19:04

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Fridge',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='fridges', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Ingredient',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('date_added', models.DateField(auto_now_add=True)),
                ('expiry_date', models.DateField()),
                ('used', models.BooleanField(default=False)),
                ('fridge', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ingredients', to='fridge_app.fridge')),
            ],
        ),
    ]
