Skip to content

Commit f669ba4

Browse files
(feat): Enable having multiple schema files for prisma before prisma/prisma#2377 is resolved through prisma-multischema
1 parent 440f120 commit f669ba4

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

apps/api/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"jest": "^29.7.0",
7474
"prettier": "^3.0.0",
7575
"prisma": "^5.11.0",
76+
"prisma-multischema": "^1.1.4",
7677
"source-map-support": "^0.5.21",
7778
"supertest": "^6.3.3",
7879
"ts-jest": "^29.1.0",

apps/api/prisma/schema.prisma

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//🧩Don't Edit this file.✨Generated in Tue Apr 09 2024 20:47:08 GMT+0200 (Central European Summer Time)✨
2+
model Movie {
3+
id Int @id @default(autoincrement())
4+
title String
5+
director String
6+
createdAt DateTime @default(now())
7+
}
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
model Movie {
2+
id Int @id @default(autoincrement())
3+
title String
4+
director String
5+
createdAt DateTime @default(now())
6+
}

0 commit comments

Comments
 (0)