new teamMember entity
This commit is contained in:
18
dataconnect/schema/teamMember.gql
Normal file
18
dataconnect/schema/teamMember.gql
Normal file
@@ -0,0 +1,18 @@
|
||||
enum TeamMemberRole {
|
||||
ADMIN
|
||||
MANAGER
|
||||
MEMBER
|
||||
VIEWER
|
||||
}
|
||||
|
||||
type TeamMember @table(name: "team_members") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
teamId: UUID!
|
||||
memberName: String!
|
||||
email: String!
|
||||
role: TeamMemberRole
|
||||
isActive: Boolean @default(expr: "true")
|
||||
createdDate: Timestamp @default(expr: "request.time")
|
||||
updatedDate: Timestamp @default(expr: "request.time")
|
||||
createdBy: String @default(expr: "auth.uid")
|
||||
}
|
||||
Reference in New Issue
Block a user