Skip to content

Commit

Permalink
Refactor Prisma schema and move generator configuration to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
GithmiHashara committed Sep 13, 2024
1 parent 3d5d663 commit f022b03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

generator client {
provider = "prisma-client-js"
output = "./generated/client"
}

datasource db {
Expand Down Expand Up @@ -86,7 +87,3 @@ model Reservation {
listing Listing @relation(fields: [listingId], references: [id], onDelete: Cascade)
}

generator client {
provider = "prisma-client-js"
output = "./generated/client"
}

0 comments on commit f022b03

Please sign in to comment.