# Generated by Django 2.2.5 on 2020-12-02 02:29

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('django_discount', '0003_auto_20201202_0203'),
    ]

    operations = [
        migrations.RenameField(
            model_name='discount',
            old_name='total_uses',
            new_name='total_usages',
        ),
        migrations.RenameField(
            model_name='discount',
            old_name='total_max_uses',
            new_name='usage_limit',
        ),
        migrations.AddField(
            model_name='discount',
            name='usage_limit_per_user',
            field=models.IntegerField(default=1, verbose_name='Maximum usage for each user'),
        ),
    ]
