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 07bacec commit fc87b8dCopy full SHA for fc87b8d
epicshop/setup-custom.js
@@ -54,11 +54,7 @@ if (!process.env.SKIP_PRISMA) {
54
const prismaDir = path.join(app.fullPath, 'prisma')
55
try {
56
if (await fsExtra.exists(prismaDir)) {
57
- if (await fsExtra.exists(path.join(prismaDir, 'sql'))) {
58
- await $({ cwd: app.fullPath, all: true })`prisma generate --sql`
59
- } else {
60
- await $({ cwd: app.fullPath, all: true })`prisma generate`
61
- }
+ await execa(`npm run db:gen`, { cwd: app.fullPath, all: true })
62
}
63
} catch (prismaGenerateResult) {
64
console.log(prismaGenerateResult.all)
0 commit comments