MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / runDeploy

Function runDeploy

packages/cli/src/actions/migrate.ts:112–119  ·  view source on GitHub ↗
(prismaSchemaFile: string, _options: DeployOptions)

Source from the content-addressed store, hash-verified

110}
111
112function runDeploy(prismaSchemaFile: string, _options: DeployOptions) {
113 try {
114 const cmd = ['migrate deploy', ` --schema "${prismaSchemaFile}"`].join('');
115 execPrisma(cmd);
116 } catch (err) {
117 handleSubProcessError(err);
118 }
119}
120
121function runStatus(prismaSchemaFile: string, _options: StatusOptions) {
122 try {

Callers 1

runFunction · 0.85

Calls 2

execPrismaFunction · 0.90
handleSubProcessErrorFunction · 0.70

Tested by

no test coverage detected