Skip to content

Commit e570258

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

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
@@ -70,6 +70,7 @@
7070
"jest": "^29.7.0",
7171
"prettier": "^3.0.0",
7272
"prisma": "^5.11.0",
73+
"prisma-multischema": "^1.1.4",
7374
"source-map-support": "^0.5.21",
7475
"supertest": "^6.3.3",
7576
"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)