models.account_type: remove duplicated constants

Clearly made in mistake, removing to keep things organized.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-18 22:14:35 -07:00
parent a72ab61902
commit f147ef3476
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -28,12 +28,6 @@ class AccountType(Base):
self.ID, str(self)) self.ID, str(self))
# Define some AccountType.AccountType constants.
USER = "User"
TRUSTED_USER = "Trusted User"
DEVELOPER = "Developer"
TRUSTED_USER_AND_DEV = "Trusted User & Developer"
# Fetch account type IDs from the database for constants. # Fetch account type IDs from the database for constants.
_account_types = db.query(AccountType) _account_types = db.query(AccountType)
USER_ID = _account_types.filter( USER_ID = _account_types.filter(