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 committed Apr 20, 2024
1 parent a064790 commit 505794d
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 @@ -83,5 +83,6 @@ model MovieTitle {
movieId Int @map("movie_id")
Movie Movie @relation(fields: [movieId], references: [id])
language String
@@map("movies_titles")
}

0 comments on commit 505794d

Please sign in to comment.