From da500a836a753a5d7eb286aba30d2660a0a7e7fd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 10 Nov 2023 10:56:32 -0500 Subject: Deals: brought up to speed with BF deals tables --- .../migrations/0018_reideal_alter_mydeal_body.py | 34 ++++++++++++++++++++++ app/deals/migrations/0019_reideal_generate_deal.py | 18 ++++++++++++ app/deals/migrations/0020_mydeal_added.py | 18 ++++++++++++ app/deals/migrations/0021_deal_added_to_article.py | 18 ++++++++++++ .../migrations/0022_alter_deal_added_to_article.py | 18 ++++++++++++ ...added_to_article_deal_deal_end_date_and_more.py | 27 +++++++++++++++++ 6 files changed, 133 insertions(+) create mode 100644 app/deals/migrations/0018_reideal_alter_mydeal_body.py create mode 100644 app/deals/migrations/0019_reideal_generate_deal.py create mode 100644 app/deals/migrations/0020_mydeal_added.py create mode 100644 app/deals/migrations/0021_deal_added_to_article.py create mode 100644 app/deals/migrations/0022_alter_deal_added_to_article.py create mode 100644 app/deals/migrations/0023_remove_deal_added_to_article_deal_deal_end_date_and_more.py (limited to 'app/deals/migrations') diff --git a/app/deals/migrations/0018_reideal_alter_mydeal_body.py b/app/deals/migrations/0018_reideal_alter_mydeal_body.py new file mode 100644 index 0000000..627e54f --- /dev/null +++ b/app/deals/migrations/0018_reideal_alter_mydeal_body.py @@ -0,0 +1,34 @@ +# Generated by Django 4.2.2 on 2023-08-22 14:22 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0017_mydeal_blurb'), + ] + + operations = [ + migrations.CreateModel( + name='REIDeal', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('brand_str', models.CharField(max_length=200)), + ('category', models.CharField(max_length=200)), + ('title', models.CharField(blank=True, max_length=200, null=True)), + ('deal_price', models.CharField(max_length=20, null=True)), + ('original_price', models.CharField(max_length=20, null=True)), + ('discount_percent_str', models.CharField(max_length=20, null=True)), + ('url', models.CharField(max_length=200)), + ], + options={ + 'ordering': ('title',), + }, + ), + migrations.AlterField( + model_name='mydeal', + name='body', + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/app/deals/migrations/0019_reideal_generate_deal.py b/app/deals/migrations/0019_reideal_generate_deal.py new file mode 100644 index 0000000..7c0e849 --- /dev/null +++ b/app/deals/migrations/0019_reideal_generate_deal.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-08-22 14:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0018_reideal_alter_mydeal_body'), + ] + + operations = [ + migrations.AddField( + model_name='reideal', + name='generate_deal', + field=models.BooleanField(default=False), + ), + ] diff --git a/app/deals/migrations/0020_mydeal_added.py b/app/deals/migrations/0020_mydeal_added.py new file mode 100644 index 0000000..678c7db --- /dev/null +++ b/app/deals/migrations/0020_mydeal_added.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-10-06 13:19 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0019_reideal_generate_deal'), + ] + + operations = [ + migrations.AddField( + model_name='mydeal', + name='added', + field=models.BooleanField(default=False), + ), + ] diff --git a/app/deals/migrations/0021_deal_added_to_article.py b/app/deals/migrations/0021_deal_added_to_article.py new file mode 100644 index 0000000..0c8d9ee --- /dev/null +++ b/app/deals/migrations/0021_deal_added_to_article.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-10-09 18:02 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0020_mydeal_added'), + ] + + operations = [ + migrations.AddField( + model_name='deal', + name='added_to_article', + field=models.BooleanField(default=True), + ), + ] diff --git a/app/deals/migrations/0022_alter_deal_added_to_article.py b/app/deals/migrations/0022_alter_deal_added_to_article.py new file mode 100644 index 0000000..0a66baa --- /dev/null +++ b/app/deals/migrations/0022_alter_deal_added_to_article.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-10-09 18:02 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0021_deal_added_to_article'), + ] + + operations = [ + migrations.AlterField( + model_name='deal', + name='added_to_article', + field=models.BooleanField(default=False), + ), + ] diff --git a/app/deals/migrations/0023_remove_deal_added_to_article_deal_deal_end_date_and_more.py b/app/deals/migrations/0023_remove_deal_added_to_article_deal_deal_end_date_and_more.py new file mode 100644 index 0000000..dadaebf --- /dev/null +++ b/app/deals/migrations/0023_remove_deal_added_to_article_deal_deal_end_date_and_more.py @@ -0,0 +1,27 @@ +# Generated by Django 4.2.7 on 2023-11-10 14:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0022_alter_deal_added_to_article'), + ] + + operations = [ + migrations.RemoveField( + model_name='deal', + name='added_to_article', + ), + migrations.AddField( + model_name='deal', + name='deal_end_date', + field=models.DateTimeField(null=True), + ), + migrations.AddField( + model_name='deal', + name='deal_start_date', + field=models.DateTimeField(null=True), + ), + ] -- cgit v1.2.3-70-g09d2