# Generated by Django 2.1.2 on 2018-10-31 13:40

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Bread',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Bread 이름을 저장합니다.', max_length=100, unique=True)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
            options={
                'verbose_name_plural': 'bread',
            },
        ),
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, unique=True)),
            ],
        ),
        migrations.CreateModel(
            name='Cheese',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Cheese 이름을 저장합니다.', max_length=100, unique=True)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
            options={
                'verbose_name_plural': 'cheese',
            },
        ),
        migrations.CreateModel(
            name='MainIngredient',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100까지 MainIngredient의 이름을 저장합니다.', max_length=100)),
                ('quantity', models.CharField(blank=True, help_text='100자까지 MainIngredient의 quantity를 저장합니다.', max_length=100)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Sandwich',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Sandwich의 이름을 저장합니다.', max_length=100, unique=True)),
                ('serving_size', models.SmallIntegerField(blank=True, null=True)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('sugars', models.SmallIntegerField(blank=True, null=True)),
                ('protein', models.SmallIntegerField(blank=True, null=True)),
                ('saturated_fat', models.SmallIntegerField(blank=True, null=True)),
                ('sodium', models.SmallIntegerField(blank=True, null=True)),
                ('ordering_num', models.IntegerField(blank=True, null=True)),
                ('image_full', models.FilePathField(max_length=255, path='sandwich')),
                ('image3x_full', models.FilePathField(max_length=255, path='sandwich')),
                ('image_left', models.FilePathField(max_length=255, path='sandwich')),
                ('image3x_left', models.FilePathField(max_length=255, path='sandwich')),
                ('image_right', models.FilePathField(max_length=255, path='sandwich')),
                ('image3x_right', models.FilePathField(max_length=255, path='sandwich')),
                ('category', models.ManyToManyField(to='ingredients.Category', verbose_name='카테고리')),
                ('main_ingredient', models.ManyToManyField(blank=True, to='ingredients.MainIngredient', verbose_name='구성재료')),
            ],
        ),
        migrations.CreateModel(
            name='Sauces',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Sauce의 이름을 저장합니다.', max_length=100, unique=True)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Toasting',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Toasting 이름을 저장합니다.', max_length=100, unique=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
            options={
                'verbose_name_plural': 'Toasting',
            },
        ),
        migrations.CreateModel(
            name='Toppings',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Topping의 이름을 저장합니다.', max_length=100, unique=True)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Vegetables',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='100자까지 Vegetable의 이름을 저장합니다.', max_length=100, unique=True)),
                ('quantity', models.CharField(choices=[('조금', '조금'), ('보통', '보통'), ('많이', '많이')], default='보통', max_length=2)),
                ('calories', models.SmallIntegerField(blank=True, null=True)),
                ('image', models.FilePathField(max_length=255)),
                ('image3x', models.FilePathField(max_length=255)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='mainingredient',
            unique_together={('name', 'quantity')},
        ),
    ]
