Revert "sadasd"

This reverts commit 9f85ce4f52.
This commit is contained in:
alorig
2025-12-09 00:26:01 +05:00
parent 9f85ce4f52
commit 92d16c76a7
11 changed files with 198 additions and 774 deletions

View File

@@ -230,14 +230,6 @@ class Subscription(models.Model):
]
account = models.OneToOneField('igny8_core_auth.Account', on_delete=models.CASCADE, related_name='subscription', db_column='tenant_id')
plan = models.ForeignKey(
'igny8_core_auth.Plan',
on_delete=models.PROTECT,
related_name='subscriptions',
null=True,
blank=True,
help_text='Plan for this subscription (historical tracking)'
)
stripe_subscription_id = models.CharField(
max_length=255,
blank=True,
@@ -294,7 +286,9 @@ class Site(SoftDeletableModel, AccountBaseModel):
'igny8_core_auth.Industry',
on_delete=models.PROTECT,
related_name='sites',
help_text="Industry this site belongs to (required)"
null=True,
blank=True,
help_text="Industry this site belongs to"
)
is_active = models.BooleanField(default=True, db_index=True)
status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='active')