mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-15 17:21:13 +10:00
feat: migrate to tailwind v4 and fix user token API
This commit is contained in:
@ -28,11 +28,15 @@ enum APITokenMode {
|
||||
}
|
||||
|
||||
model APIToken {
|
||||
token String @id @default(uuid())
|
||||
id String @id @default(uuid())
|
||||
token String @default(uuid())
|
||||
mode APITokenMode
|
||||
name String
|
||||
|
||||
userId String?
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
|
||||
acls String[]
|
||||
|
||||
@@index([token])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user