chore: added is_subscribed_to_changelog field

This commit is contained in:
sangeethailango
2025-12-29 17:52:38 +05:30
parent 07cf029c1e
commit a2fcc06d96
2 changed files with 6 additions and 0 deletions

View File

@@ -47,6 +47,11 @@ class Migration(migrations.Migration):
model_name='apitoken',
name='allowed_rate_limit',
field=models.CharField(default='60/min', max_length=255),
),
migrations.AddField(
model_name='profile',
name='is_subscribed_to_changelog',
field=models.BooleanField(default=False),
),
migrations.RunPython(populate_product_tour, reverse_code=migrations.RunPython.noop),
]

View File

@@ -238,6 +238,7 @@ class Profile(TimeAuditModel):
# marketing
has_marketing_email_consent = models.BooleanField(default=False)
is_subscribed_to_changelog = models.BooleanField(default=False)
class Meta:
verbose_name = "Profile"