From 7c62f0347bb6c7e0e5bca7b6358c312ae6c4d724 Mon Sep 17 00:00:00 2001 From: Arunmozhi Date: Fri, 6 Dec 2024 14:52:58 +1100 Subject: [PATCH] refactor: remove unnecessary migrations --- ...llment_in_invite_only_courses_and_more.py} | 4 ++-- ...er_hide_course_price_when_zero_and_more.py | 23 ------------------- ...er_hide_course_price_when_zero_and_more.py | 21 ----------------- 3 files changed, 2 insertions(+), 46 deletions(-) rename enterprise/migrations/{0208_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py => 0207_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py} (86%) delete mode 100644 enterprise/migrations/0207_enterprisecustomer_hide_course_price_when_zero_and_more.py delete mode 100644 enterprise/migrations/0209_remove_enterprisecustomer_hide_course_price_when_zero_and_more.py diff --git a/enterprise/migrations/0208_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py b/enterprise/migrations/0207_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py similarity index 86% rename from enterprise/migrations/0208_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py rename to enterprise/migrations/0207_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py index fbc886ca9..d72b12033 100644 --- a/enterprise/migrations/0208_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py +++ b/enterprise/migrations/0207_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.13 on 2024-08-16 07:26 +# Generated by Django 4.2.13 on 2024-12-06 03:48 from django.db import migrations, models @@ -6,7 +6,7 @@ class Migration(migrations.Migration): dependencies = [ - ('enterprise', '0207_enterprisecustomer_hide_course_price_when_zero_and_more'), + ('enterprise', '0206_auto_20240408_1344'), ] operations = [ diff --git a/enterprise/migrations/0207_enterprisecustomer_hide_course_price_when_zero_and_more.py b/enterprise/migrations/0207_enterprisecustomer_hide_course_price_when_zero_and_more.py deleted file mode 100644 index 5e77cc531..000000000 --- a/enterprise/migrations/0207_enterprisecustomer_hide_course_price_when_zero_and_more.py +++ /dev/null @@ -1,23 +0,0 @@ -# Generated by Django 4.2.13 on 2024-08-16 07:23 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('enterprise', '0206_auto_20240408_1344'), - ] - - operations = [ - migrations.AddField( - model_name='enterprisecustomer', - name='hide_course_price_when_zero', - field=models.BooleanField(default=False, help_text='Specify whether course cost should be hidden in the landing page when the final price is zero.'), - ), - migrations.AddField( - model_name='historicalenterprisecustomer', - name='hide_course_price_when_zero', - field=models.BooleanField(default=False, help_text='Specify whether course cost should be hidden in the landing page when the final price is zero.'), - ), - ] diff --git a/enterprise/migrations/0209_remove_enterprisecustomer_hide_course_price_when_zero_and_more.py b/enterprise/migrations/0209_remove_enterprisecustomer_hide_course_price_when_zero_and_more.py deleted file mode 100644 index ff7dc9407..000000000 --- a/enterprise/migrations/0209_remove_enterprisecustomer_hide_course_price_when_zero_and_more.py +++ /dev/null @@ -1,21 +0,0 @@ -# Generated by Django 4.2.13 on 2024-08-16 07:28 - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('enterprise', '0208_enterprisecustomer_allow_enrollment_in_invite_only_courses_and_more'), - ] - - operations = [ - migrations.RemoveField( - model_name='enterprisecustomer', - name='hide_course_price_when_zero', - ), - migrations.RemoveField( - model_name='historicalenterprisecustomer', - name='hide_course_price_when_zero', - ), - ]