@rws-framework/db 2.4.4 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helper/DbHelper.ts +1 -1
package/package.json
CHANGED
package/src/helper/DbHelper.ts
CHANGED
|
@@ -120,7 +120,7 @@ export class DbHelper {
|
|
|
120
120
|
static async pushDBModels(configService: IDbConfigHandler, dbService: DBService, leaveFile = false){
|
|
121
121
|
process.env = { ...process.env, [this.dbUrlVarName]: configService.get('db_url') }
|
|
122
122
|
|
|
123
|
-
const schemaPath = path.join(workspaceRoot, 'node_modules', '.prisma', 'schema.prisma');
|
|
123
|
+
const schemaPath = path.join(workspaceRoot, 'node_modules', '.prisma', 'client','schema.prisma');
|
|
124
124
|
|
|
125
125
|
await rwsShell.runCommand(`${this.detectInstaller()} prisma db push --schema="${schemaPath}"`, process.cwd());
|
|
126
126
|
|