text: # Generated by Django 2.2.3 on 2019-07-26 07:27
  
  import django.core.validators
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('coupons', '0001_initial'),
          ('orders', '0001_initial'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='order',
              name='coupon',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='orders', to='coupons.Coupon'),
          ),
          migrations.AddField(
              model_name='order',
              name='discount',
              field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100)]),
          ),
      ]
  