Skip to content

Commit

Permalink
Update apps/api/src/database/schema.prisma
Browse files Browse the repository at this point in the history
Make sure db tables are in plural and snake_case

Co-authored-by: Rodrigo Souza <alves.wm@gmail.com>
  • Loading branch information
mathiasberggren and rasouza authored Apr 19, 2024
1 parent 0962598 commit 466e24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/src/database/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ model MovieTitle {
movieId Int @map("movie_id")
Movie Movie @relation(fields: [movieId], references: [id])
language String
@@map("movies_titles")
}

0 comments on commit 466e24a

Please sign in to comment.