text: # Generated by Django 3.1.1 on 2021-01-07 15:14
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('orders', '0016_auto_20210101_2114'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Coupon',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('code', models.CharField(max_length=15)),
                  ('amount', models.FloatField()),
              ],
          ),
          migrations.AddField(
              model_name='order',
              name='coupon',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='orders.coupon'),
          ),
      ]
  