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 <[email protected]>
  • Loading branch information
mathiasberggren and rasouza committed Apr 19, 2024
1 parent 8eaaf62 commit aa6877b
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 @@ -82,5 +82,6 @@ model MovieTitle {
movieId Int @map("movie_id")
Movie Movie @relation(fields: [movieId], references: [id])
language String
@@map("movies_titles")
}

0 comments on commit aa6877b

Please sign in to comment.