# Generated by Django 3.1.7 on 2021-03-31 07:06

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


class Migration(migrations.Migration):

    dependencies = [
        ('orders_app', '0004_auto_20210331_0826'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='productattr',
            name='name',
        ),
        migrations.RemoveField(
            model_name='productattr',
            name='value',
        ),
        migrations.RemoveField(
            model_name='producttype',
            name='attributes',
        ),
        migrations.AddField(
            model_name='customer',
            name='address',
            field=models.CharField(default='AZ', max_length=300),
        ),
        migrations.AddField(
            model_name='customer',
            name='facebook_instagram',
            field=models.CharField(default='AZ', max_length=300),
        ),
        migrations.AddField(
            model_name='customer',
            name='name',
            field=models.CharField(default='AZ', max_length=300),
        ),
        migrations.AddField(
            model_name='customer',
            name='telephone',
            field=phonenumber_field.modelfields.PhoneNumberField(default='+306955242965', max_length=128, region=None),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='product',
            name='name',
            field=models.CharField(default='az', max_length=300),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='productattr',
            name='amount',
            field=models.FloatField(default=0.0),
        ),
        migrations.AddField(
            model_name='productattr',
            name='attr1',
            field=models.CharField(default='AZ', max_length=30),
        ),
        migrations.AddField(
            model_name='productattr',
            name='attr2',
            field=models.CharField(default='AZ', max_length=30),
        ),
        migrations.AddField(
            model_name='productattr',
            name='attr_name',
            field=models.CharField(default='AZ', max_length=30),
        ),
        migrations.AddField(
            model_name='productattr',
            name='color',
            field=models.CharField(default='AZ', max_length=30),
        ),
        migrations.AddField(
            model_name='productattr',
            name='product',
            field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.product'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='productattr',
            name='product_type',
            field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.producttype'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='producttype',
            name='members',
            field=models.ManyToManyField(through='orders_app.ProductAttr', to='orders_app.Product'),
        ),
        migrations.AlterField(
            model_name='producttype',
            name='name',
            field=models.CharField(default='AZ', max_length=300),
        ),
    ]
