diff --git a/packages/cli/src/actions/migrate.ts b/packages/cli/src/actions/migrate.ts index 896cc991..19f94ce7 100644 --- a/packages/cli/src/actions/migrate.ts +++ b/packages/cli/src/actions/migrate.ts @@ -82,9 +82,12 @@ async function runDev(prismaSchemaFile: string, options: DevOptions) { async function runReset(prismaSchemaFile: string, options: ResetOptions) { try { - const cmd = ['prisma migrate reset', ` --schema "${prismaSchemaFile}"`, options.force ? ' --force' : ''].join( - '', - ); + const cmd = [ + 'prisma migrate reset', + ` --schema "${prismaSchemaFile}"`, + ' --skip-generate', + options.force ? ' --force' : '' + ].join(''); await execPackage(cmd); } catch (err) {