Skip to content

Commit

Permalink
refactor: remove subscription_tier field for orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 22, 2024
1 parent 8bb9efb commit 879f173
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/backend/app/db/db_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export interface OrganisationListModel {
slug: string;
description: string;
type: number;
subscription_tier: null | string;
id: number;
logo: string;
url: string;
Expand Down
3 changes: 0 additions & 3 deletions src/frontend/src/models/organization/organisationModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export interface OrganisationListModel {
slug: string;
description: string;
type: number;
subscription_tier: null | string;
id: number;
logo: string;
url: string;
Expand All @@ -25,7 +24,6 @@ export interface GetOrganisationDataModel {
slug: string;
description: string;
type: number;
subscription_tier: null;
id: number;
logo: string;
url: string;
Expand All @@ -35,7 +33,6 @@ export interface PostOrganisationDataModel {
slug: string;
description: string;
type: number;
subscription_tier: null;
id: number;
logo: string;
url: string;
Expand Down

0 comments on commit 879f173

Please sign in to comment.