Skip to content

Commit

Permalink
style: reformat schema.prisma by pulling from the database
Browse files Browse the repository at this point in the history
npx prisma db pull
  • Loading branch information
zainfathoni committed Sep 20, 2022
1 parent bb65f26 commit be888c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -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"
}
Expand All @@ -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])
}

0 comments on commit be888c8

Please sign in to comment.