Skip to content

Commit

Permalink
chore: update prisma schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Dec 16, 2024
1 parent f400857 commit 3262248
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ model User {
}

model Server {
id Int @id @default(autoincrement())
serverID String @unique @db.VarChar(255)
bannedFromUse Boolean @default(false)
banReason String? @db.VarChar(255)
locale String? @db.VarChar(255)
trelloRole String? @db.VarChar(255)
prefix String? @db.VarChar(255)
maxWebhooks Int @default(5)
createdAt DateTime @db.Timestamptz(6) @default(now())
updatedAt DateTime @db.Timestamptz(6) @updatedAt
id Int @id @default(autoincrement())
serverID String @unique @db.VarChar(255)
bannedFromUse Boolean @default(false)
banReason String? @db.VarChar(255)
locale String? @db.VarChar(255)
trelloRole String? @db.VarChar(255)
prefix String? @db.VarChar(255)
maxWebhooks Int @default(5)
manualBenefits Boolean @default(false)
createdAt DateTime @db.Timestamptz(6) @default(now())
updatedAt DateTime @db.Timestamptz(6) @updatedAt
@@map("servers")
}
Expand Down

0 comments on commit 3262248

Please sign in to comment.