diff options
Diffstat (limited to 'app/deals/migrations/0001_initial.py')
-rw-r--r-- | app/deals/migrations/0001_initial.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/deals/migrations/0001_initial.py b/app/deals/migrations/0001_initial.py new file mode 100644 index 0000000..af6edd7 --- /dev/null +++ b/app/deals/migrations/0001_initial.py @@ -0,0 +1,32 @@ +# Generated by Django 4.2.2 on 2023-06-29 15:43 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Deal', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('asin', models.CharField(max_length=200)), + ('category', models.CharField(max_length=200)), + ('brand', models.CharField(max_length=200)), + ('title', models.CharField(blank=True, max_length=200, null=True)), + ('prime_only', models.BooleanField(default=True)), + ('promo_type', models.CharField(blank=True, max_length=200)), + ('deal_price', models.DecimalField(decimal_places=2, max_digits=6)), + ('discount_percent', models.DecimalField(decimal_places=2, max_digits=6)), + ('url', models.CharField(max_length=200)), + ], + options={ + 'ordering': ('title',), + }, + ), + ] |