Skip to content

Commit

Permalink
Refactor Prisma schema and add generator configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
GithmiHashara committed Sep 13, 2024
1 parent c872822 commit 3d5d663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,9 @@ model Reservation {
//relation to listing
listing Listing @relation(fields: [listingId], references: [id], onDelete: Cascade)
}

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

0 comments on commit 3d5d663

Please sign in to comment.