From 879f173d25941c4b237a9393274902c157b36f72 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 22 Jan 2024 17:02:20 +0000 Subject: [PATCH] refactor: remove subscription_tier field for orgs --- src/backend/app/db/db_models.py | 2 +- src/frontend/src/models/createproject/createProjectModel.ts | 1 - src/frontend/src/models/organization/organisationModel.ts | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/app/db/db_models.py b/src/backend/app/db/db_models.py index 3be832fa49..d13e60d6ff 100644 --- a/src/backend/app/db/db_models.py +++ b/src/backend/app/db/db_models.py @@ -148,7 +148,7 @@ class DbOrganisation(Base): url = Column(String) type = Column(Enum(OrganisationType), default=OrganisationType.FREE, nullable=False) approved = Column(Boolean, default=False) - # subscription_tier = Column(Integer) + url = Column(String) managers = relationship( DbUser, diff --git a/src/frontend/src/models/createproject/createProjectModel.ts b/src/frontend/src/models/createproject/createProjectModel.ts index cd89ed1893..1c78c11d86 100755 --- a/src/frontend/src/models/createproject/createProjectModel.ts +++ b/src/frontend/src/models/createproject/createProjectModel.ts @@ -74,7 +74,6 @@ export interface OrganisationListModel { slug: string; description: string; type: number; - subscription_tier: null | string; id: number; logo: string; url: string; diff --git a/src/frontend/src/models/organization/organisationModel.ts b/src/frontend/src/models/organization/organisationModel.ts index 02278511d3..50e913c78e 100644 --- a/src/frontend/src/models/organization/organisationModel.ts +++ b/src/frontend/src/models/organization/organisationModel.ts @@ -14,7 +14,6 @@ export interface OrganisationListModel { slug: string; description: string; type: number; - subscription_tier: null | string; id: number; logo: string; url: string; @@ -25,7 +24,6 @@ export interface GetOrganisationDataModel { slug: string; description: string; type: number; - subscription_tier: null; id: number; logo: string; url: string; @@ -35,7 +33,6 @@ export interface PostOrganisationDataModel { slug: string; description: string; type: number; - subscription_tier: null; id: number; logo: string; url: string;