# Generated by Django 4.2 on 2024-05-30 07:56

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Coupons',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(default='', max_length=255)),
                ('code', models.CharField(default='', max_length=255)),
                ('coupon_type', models.IntegerField(choices=[(0, 'Percentage'), (1, 'Cash')], default=0)),
                ('value', models.CharField(default=0, max_length=255)),
                ('max_value', models.CharField(default=0, max_length=255)),
                ('count', models.CharField(default=0, max_length=255)),
                ('description', models.TextField(default='')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now_add=True)),
            ],
        ),
    ]
