From 582f9cad772dd161146acdd47c618906164af1b7 Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Thu, 15 Feb 2024 17:17:15 +0530 Subject: [PATCH] Add migration to remove the mailchimp table if it exist (#3772) Fixes #3770 --- .../0002_auto_20240215_remove_mailhimp.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hypha/core/migrations/0002_auto_20240215_remove_mailhimp.py diff --git a/hypha/core/migrations/0002_auto_20240215_remove_mailhimp.py b/hypha/core/migrations/0002_auto_20240215_remove_mailhimp.py new file mode 100644 index 0000000000..449a047158 --- /dev/null +++ b/hypha/core/migrations/0002_auto_20240215_remove_mailhimp.py @@ -0,0 +1,14 @@ +# Generated by Django 4.2.9 on 2024-02-15 08:49 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("core", "0001_wagtail_4_reference_index_dependency"), + ] + + # Remove the mailchimp settings table, and add a reverse migration to do nothing + operations = [ + migrations.RunSQL("DROP TABLE IF EXISTS mailchimp_newslettersettings;"), + ]