Skip to content

Commit

Permalink
Add migration to remove the mailchimp table if it exist (HyphaApp#3772)
Browse files Browse the repository at this point in the history
  • Loading branch information
theskumar committed Feb 15, 2024
1 parent 196183d commit 582f9ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hypha/core/migrations/0002_auto_20240215_remove_mailhimp.py
Original file line number Diff line number Diff line change
@@ -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;"),
]

0 comments on commit 582f9ca

Please sign in to comment.