From be888c87705736a7fe756a97208103889e61eaf9 Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Tue, 20 Sep 2022 19:03:49 +0800 Subject: [PATCH] style: reformat schema.prisma by pulling from the database npx prisma db pull --- prisma/schema.prisma | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 9efbd82..bcb105f 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1,6 +1,3 @@ -// This is your Prisma schema file, -// learn more about it in the docs: https://pris.ly/d/prisma-schema - generator client { provider = "prisma-client-js" } @@ -26,6 +23,6 @@ model Activity { name String description String url String - category Category @relation(fields: [categoryId], references: [id]) categoryId Int + category Category @relation(fields: [categoryId], references: [id]) }