Skip to content

Commit

Permalink
Update Prisma schema files to fix provider indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Apr 25, 2024
1 parent 936159c commit cec3812
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions prisma/example.mongodb.schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init

generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

Expand Down Expand Up @@ -46,7 +46,7 @@ model Role {
}

model Playlist {
id String @id @map("_id") @default(cuid())
id String @id @default(cuid()) @map("_id")
userId String
name String
songs Song[]
Expand Down
2 changes: 1 addition & 1 deletion prisma/example.postgresql.schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init

generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

Expand Down
4 changes: 2 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init

generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

Expand Down Expand Up @@ -55,7 +55,7 @@ model Playlist {
}

model Song {
id String @id @default(uuid())
id String @id @default(uuid())
track String
playlistId String
playlist Playlist @relation(fields: [playlistId], references: [id])
Expand Down

0 comments on commit cec3812

Please sign in to comment.