Skip to content

Commit

Permalink
attempt to fix prisma db types for cockroachdb
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady authored Sep 25, 2023
1 parent 2f2883d commit ad00e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model User {
github GitHub?
discord Discord?
name String @db.VarChar(64)
name String @db.String
bio String?
admin Boolean @default(false)
Expand Down Expand Up @@ -87,7 +87,7 @@ model Server {
}

model Rule {
id Int @id @default(autoincrement())
id Int @id @default(sequence())
name String
value String
Server Server? @relation(fields: [serverId], references: [id])
Expand Down

0 comments on commit ad00e79

Please sign in to comment.