You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(schema.prisma): add detailed comments for better understanding of the schema
refactor(schema.prisma): uncomment DEV_DATABASE_URL and DEV_DIRECT_URL for development database usage
style(schema.prisma): remove comment from case_status field for cleaner code
Copy file name to clipboardExpand all lines: prisma/schema.prisma
+21-7Lines changed: 21 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,32 @@
1
+
// Prisma Client Python is a next-generation ORM built on top of Prisma that has been designed from the ground up for ease of use and correctness. Prisma is a TypeScript ORM with zero-cost type safety for your database, although don't worry, Prisma Client Python interfaces with Prisma using Rust, you don't need Node or TypeScript.
2
+
3
+
// For more information on how to use Prisma Client Python, please refer to the documentation:
4
+
// https://www.prisma.io/docs/prisma-client-py
5
+
6
+
// For more information on the Prisma schema, please refer to the documentation:
7
+
// https://www.prisma.io/docs/orm/prisma-schema
8
+
1
9
datasourcedb {
2
-
provider="postgresql"
3
-
// url = env("PROD_DATABASE_URL")
4
-
// directUrl = env("PROD_DIRECT_URL")
10
+
provider="postgresql"
11
+
12
+
// Uncomment the following lines to use a development database
5
13
url=env("DEV_DATABASE_URL")
6
14
directUrl=env("DEV_DIRECT_URL")
15
+
16
+
// Uncomment the following lines to use a production database
0 commit comments