summaryrefslogtreecommitdiff
path: root/app/deals/migrations/0001_initial.py
blob: af6edd7c259c98cf8ef261a9332e4ba148d586eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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',),
            },
        ),
    ]