feat: Organization services
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
model OrganizationUserJoinTable {
|
||||
userId String
|
||||
orgId String
|
||||
role ORG_ROLE @default(user)
|
||||
role ORG_ROLE @default(member)
|
||||
joinedDate DateTime @default(now())
|
||||
|
||||
@@unique([userId, orgId])
|
||||
@@ -9,6 +9,7 @@ model OrganizationUserJoinTable {
|
||||
}
|
||||
|
||||
enum ORG_ROLE {
|
||||
owner
|
||||
admin
|
||||
user
|
||||
member
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user