From 466e24a0c061123f713cc06dc781679f3f6d02bb Mon Sep 17 00:00:00 2001 From: mathiasberggren <38131351+mathiasberggren@users.noreply.github.com> Date: Fri, 19 Apr 2024 07:00:19 +0200 Subject: [PATCH] Update apps/api/src/database/schema.prisma Make sure db tables are in plural and snake_case Co-authored-by: Rodrigo Souza --- apps/api/src/database/schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/database/schema.prisma b/apps/api/src/database/schema.prisma index bae0ce2..187f5a7 100644 --- a/apps/api/src/database/schema.prisma +++ b/apps/api/src/database/schema.prisma @@ -36,5 +36,6 @@ model MovieTitle { movieId Int @map("movie_id") Movie Movie @relation(fields: [movieId], references: [id]) language String + @@map("movies_titles") }