finalizing team support
This commit is contained in:
@@ -37,7 +37,6 @@ model User {
|
||||
locale String @default("en")
|
||||
parentSubscription Subscription? @relation("ChildUsers", fields: [parentSubscriptionId], references: [id])
|
||||
parentSubscriptionId Int?
|
||||
teamRole TeamRole @default(ADMIN)
|
||||
accounts Account[]
|
||||
collections Collection[]
|
||||
tags Tag[]
|
||||
@@ -77,11 +76,6 @@ model WhitelistedUser {
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
}
|
||||
|
||||
enum TeamRole {
|
||||
MEMBER
|
||||
ADMIN
|
||||
}
|
||||
|
||||
model VerificationToken {
|
||||
identifier String
|
||||
token String @unique
|
||||
@@ -114,7 +108,6 @@ model Collection {
|
||||
owner User @relation(fields: [ownerId], references: [id])
|
||||
ownerId Int
|
||||
members UsersAndCollections[]
|
||||
teamId Int?
|
||||
createdBy User @relation("CreatedCollections", fields: [createdById], references: [id])
|
||||
createdById Int
|
||||
links Link[]
|
||||
|
||||
Reference in New Issue
Block a user