From b1198213071513e9747180908a58addd95ae5722 Mon Sep 17 00:00:00 2001 From: Barry Low Date: Tue, 20 Nov 2018 08:45:31 -0800 Subject: [PATCH] server: updatae datamodel --- api/database/datamodel.graphql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/database/datamodel.graphql b/api/database/datamodel.graphql index 7683fd3fe..4ecab3878 100644 --- a/api/database/datamodel.graphql +++ b/api/database/datamodel.graphql @@ -39,6 +39,7 @@ type Team { } type TeamProfile { + id: ID! @unique description: String motto: String avatar: String @@ -48,6 +49,7 @@ type TeamProfile { } type TeamStatus { + id: ID! @unique status: Status @Default(value: inactive) reason: String createdAt: DateTime! @@ -82,12 +84,14 @@ type Member { } type MemberStatus { + id: ID! @unique status: Status @Default(value: INACTIVE) reason: String createdAt: DateTime! } type Wallet { + id: ID! @unique balance: Float updatedAt: DateTime! } @@ -106,6 +110,7 @@ type FinancialBeings { } type FBStatus { + id: ID! @unique status: Status @Default(value: inactive) reason: String createdAt: DateTime!