diff --git a/common/djangoapps/student/migrations/0045_add_marketing_email_opt_in_field.py b/common/djangoapps/student/migrations/0045_add_marketing_email_opt_in_field.py deleted file mode 100644 index 987c84bcf1..0000000000 --- a/common/djangoapps/student/migrations/0045_add_marketing_email_opt_in_field.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 3.2.13 on 2022-05-23 13:30 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('student', '0044_courseenrollmentcelebration_celebrate_weekly_goal'), - ] - - operations = [ - migrations.AddField( - model_name='userprofile', - name='is_marketable', - field=models.BooleanField(default=False, help_text='If selected, user will receive edX marketing emails. The marketing email opt-in checkbox on registration form maps to this field.'), - ), - ] diff --git a/common/djangoapps/student/models.py b/common/djangoapps/student/models.py index a3060e1e63..5ef8ea06b4 100644 --- a/common/djangoapps/student/models.py +++ b/common/djangoapps/student/models.py @@ -612,13 +612,6 @@ class UserProfile(models.Model): profile_image_uploaded_at = models.DateTimeField(null=True, blank=True) phone_regex = RegexValidator(regex=r'^\+?1?\d*$', message="Phone number can only contain numbers.") phone_number = models.CharField(validators=[phone_regex], blank=True, null=True, max_length=50) - is_marketable = models.BooleanField( - default=False, - help_text=_( - "If selected, user will receive edX marketing emails. The marketing email opt-in checkbox on registration " - "form maps to this field." - ), - ) @property def has_profile_image(self):