# Generated by Django 3.1.7 on 2021-04-01 09:39

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


class Migration(migrations.Migration):

    dependencies = [
        ('orders_app', '0007_auto_20210401_1230'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='orderproduct',
            name='attr3',
        ),
        migrations.RemoveField(
            model_name='orderproduct',
            name='attr4',
        ),
        migrations.RemoveField(
            model_name='orderproduct',
            name='color3',
        ),
        migrations.RemoveField(
            model_name='product',
            name='order',
        ),
        migrations.RemoveField(
            model_name='product',
            name='product',
        ),
        migrations.AddField(
            model_name='orderproduct',
            name='order',
            field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.order'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='orderproduct',
            name='product',
            field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.product'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='order',
            name='order_products',
            field=models.ManyToManyField(related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
        ),
    ]
