We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7a3ce commit df14619Copy full SHA for df14619
src/configs/prisma.ts
@@ -23,9 +23,8 @@ datasource db {
23
// This is required for development only.
24
shadowDatabaseUrl = "postgres://postgres@localhost/prisma-shadow?pgbouncer=true&connection_limit=1"
25
}
26
-`
27
28
-const prismaExampleSchema = `model Example {
+model Example {
29
id String @id @default(uuid())
30
details String
31
@@ -207,13 +206,9 @@ const prisma: ModuleConfig = {
207
206
content: prismaEnvFile
208
},
209
{
210
- path: 'prisma/schema/schema.prisma',
+ path: 'prisma/schema.prisma',
211
content: prismaRootSchema
212
213
- {
214
- path: 'prisma/schema/example.prisma',
215
- content: prismaExampleSchema
216
- },
217
218
path: 'server/api/examples.get.ts',
219
content: prismaExampleEndpoint
0 commit comments