<filename>ecommerce/migrations/0020_add_bulk_coupon_assignment.py
# Generated by Django 2.2.4 on 2019-09-24 20:02

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


class Migration(migrations.Migration):

    dependencies = [("ecommerce", "0019_amount_more_decimal_places")]

    operations = [
        migrations.CreateModel(
            name="BulkCouponAssignment",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("created_on", models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.AddField(
            model_name="productcouponassignment",
            name="bulk_assignment",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="assignments",
                to="ecommerce.BulkCouponAssignment",
            ),
        ),
    ]

<filename>ecommerce/migrations/0020_add_bulk_coupon_assignment.py
# Generated by Django 2.2.4 on 2019-09-24 20:02

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


class Migration(migrations.Migration):

    dependencies = [("ecommerce", "0019_amount_more_decimal_places")]

    operations = [
        migrations.CreateModel(
            name="BulkCouponAssignment",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("created_on", models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.AddField(
            model_name="productcouponassignment",
            name="bulk_assignment",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="assignments",
                to="ecommerce.BulkCouponAssignment",
            ),
        ),
    ]

# Generated by Django 2.2.4 on 2019-09-24 20:02