# Generated by Django 3.1 on 2020-09-03 04:25

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Order',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('customer_name', models.CharField(max_length=256)),
                ('customer_address', models.CharField(max_length=256)),
                ('customer_phone', models.CharField(max_length=256)),
                ('pizza_type', models.CharField(choices=[('sicilian', 'Sicilian'), ('margherita', 'Margherita'), ('greek', 'Greek'), ('chicken', 'Chicken'), ('cheese', 'Cheese')], default='cheese', max_length=256)),
                ('pizza_size', models.CharField(choices=[('l', 'Large'), ('m', 'Medium'), ('s', 'Small')], default='m', max_length=256)),
                ('pizza_number', models.PositiveIntegerField(default=1, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(100)])),
                ('status', models.CharField(choices=[('shipped', 'Shipped Number'), ('in_progress', 'In Progress'), ('canceled', 'Canceled'), ('delivered', 'Delivered')], default='shipped', max_length=256)),
                ('updated', models.DateTimeField(auto_now=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
            ],
        ),
    ]
