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

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


class Migration(migrations.Migration):

    dependencies = [
        ('orders_app', '0003_orderproduct_name2'),
    ]

    operations = [
        migrations.RenameField(
            model_name='orderproduct',
            old_name='type',
            new_name='product',
        ),
        migrations.RemoveField(
            model_name='order',
            name='order_id',
        ),
        migrations.RemoveField(
            model_name='order',
            name='order_products',
        ),
        migrations.RemoveField(
            model_name='orderproduct',
            name='name2',
        ),
        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,
        ),
    ]
