diff --git a/openedx/core/djangoapps/django_comment_common/migrations/0009_coursediscussionsettings_reported_content_email_notifications.py b/openedx/core/djangoapps/django_comment_common/migrations/0009_coursediscussionsettings_reported_content_email_notifications.py new file mode 100644 index 0000000000..80bef667ce --- /dev/null +++ b/openedx/core/djangoapps/django_comment_common/migrations/0009_coursediscussionsettings_reported_content_email_notifications.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2022-04-05 10:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('django_comment_common', '0008_role_user_index'), + ] + + operations = [ + migrations.AddField( + model_name='coursediscussionsettings', + name='reported_content_email_notifications', + field=models.BooleanField(default=False), + ), + ] diff --git a/openedx/core/djangoapps/django_comment_common/models.py b/openedx/core/djangoapps/django_comment_common/models.py index 0fa4fd95ee..2df064e62d 100644 --- a/openedx/core/djangoapps/django_comment_common/models.py +++ b/openedx/core/djangoapps/django_comment_common/models.py @@ -239,6 +239,7 @@ class CourseDiscussionSettings(models.Model): help_text="Key/value store mapping discussion IDs to discussion XBlock usage keys.", ) always_divide_inline_discussions = models.BooleanField(default=False) + reported_content_email_notifications = models.BooleanField(default=False) _divided_discussions = models.TextField(db_column='divided_discussions', null=True, blank=True) # JSON list COHORT = 'cohort'