0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00

remove legacy cloud billing info from ee (#2537)

This commit is contained in:
Paolo D'Amico 2020-11-29 06:09:25 -05:00 committed by GitHub
parent b05e2ad1a9
commit 6426408c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,17 +40,8 @@ class License(models.Model):
valid_until: models.DateTimeField = models.DateTimeField()
key: models.CharField = models.CharField(max_length=200)
# TODO: This logic should go on posthog-production (requires abstraction on models/organization.py)
STARTER_PLAN = "starter" # cloud
GROWTH_PLAN = "growth" # cloud
STARTUP_PLAN = "startup" # cloud
STARTER_FEATURES = ["organizations_projects"]
ENTERPRISE_PLAN = "enterprise"
ENTERPRISE_FEATURES = ["zapier", "organizations_projects"]
PLANS = {
ENTERPRISE_PLAN: ENTERPRISE_FEATURES,
STARTER_PLAN: STARTER_FEATURES,
GROWTH_PLAN: ENTERPRISE_FEATURES,
STARTUP_PLAN: ENTERPRISE_FEATURES,
}