revert(prisma): prisma schema

This commit is contained in:
AlphaNecron 2021-10-15 14:56:12 +07:00
parent 996b487048
commit 5b561cd51b
1 changed files with 12 additions and 14 deletions

View File

@ -8,20 +8,18 @@ generator client {
} }
model User { model User {
id Int @id @default(autoincrement()) id Int @id @default(autoincrement())
username String username String
password String password String
token String @unique token String @unique
isAdmin Boolean @default(false) isAdmin Boolean @default(false)
useEmbed Boolean? @default(false) useEmbed Boolean? @default(false)
embedSiteName String? @default("Void") embedSiteName String? @default("Void")
embedTitle String? embedTitle String?
embedColor String @default("#B794F4") embedColor String @default("#B794F4")
embedDesc String? embedDesc String?
discordUsername String? files File[]
discordId String? urls Url[]
files File[]
urls Url[]
} }
model Url { model Url {