[WEB-4599] feat: add marketing email consent field to Profile model and timezone migration #7510

This commit is contained in:
Nikhil
2025-07-30 17:17:16 +05:30
committed by GitHub
parent ef8e613358
commit a67dba45f8
2 changed files with 1829 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -226,6 +226,9 @@ class Profile(TimeAuditModel):
goals = models.JSONField(default=dict)
background_color = models.CharField(max_length=255, default=get_random_color)
# marketing
has_marketing_email_consent = models.BooleanField(default=False)
class Meta:
verbose_name = "Profile"
verbose_name_plural = "Profiles"