From 175eac054f7c7ebf7be01b657884376a1bda97d5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 17 Dec 2023 18:10:58 -0500 Subject: [PATCH] fix: ensure model table is lowercase, plural --- prisma/schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index c950736..bc64dad 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -8,6 +8,7 @@ datasource db { } model Article { + @@map("articles") id Int @id @default(autoincrement()) title String slug String