# Generated by Django 4.1.1 on 2022-09-27 14:14

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('order', '0004_alter_order_purchase_of_material_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='order',
            name='address_city',
            field=models.ForeignKey(default='Moscow', on_delete=django.db.models.deletion.CASCADE, related_name='address_city', to='order.city'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='order',
            name='address_text',
            field=models.CharField(blank=True, max_length=70, verbose_name='Улица, дом'),
        ),
        migrations.AlterField(
            model_name='order',
            name='approximate_price',
            field=models.DecimalField(decimal_places=2, max_digits=9, verbose_name='Цена'),
        ),
        migrations.AlterField(
            model_name='order',
            name='is_require_design',
            field=models.BooleanField(blank=True, choices=[(True, 'Да'), (False, 'Нет')], default=None, null=True),
        ),
        migrations.AlterField(
            model_name='order',
            name='owner',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='owner', to=settings.AUTH_USER_MODEL, verbose_name='Владелец'),
        ),
        migrations.AlterField(
            model_name='order',
            name='purchase_of_material',
            field=models.CharField(blank=True, choices=[('executor', 'Исполнитель'), ('customer', 'Заказчик')], default='', max_length=10),
        ),
        migrations.AlterField(
            model_name='order',
            name='type_of_executor',
            field=models.CharField(blank=True, choices=[('individual', 'Самозанятый/бригада'), ('company', 'Компания')], default='', max_length=10),
        ),
        migrations.AlterField(
            model_name='order',
            name='type_of_house',
            field=models.CharField(blank=True, choices=[('block', 'Блочный'), ('brick', 'Кирпичный'), ('monolith', 'Монолит'), ('panel', 'Панельный')], default='', max_length=10),
        ),
        migrations.AlterField(
            model_name='order',
            name='type_of_renovation',
            field=models.CharField(choices=[('overhaul', 'Капитальный'), ('partial', 'Частичный'), ('redecor', 'Косметический'), ('premium', 'Премиальный'), ('design', 'Дизайнерский')], default='', max_length=10),
        ),
        migrations.AlterField(
            model_name='order',
            name='type_of_room',
            field=models.CharField(blank=True, choices=[('primary', 'Первичка'), ('secondary', 'Вторичка')], default='', max_length=10),
        ),
    ]
