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 3c74bb1 commit e8d06abCopy full SHA for e8d06ab
packages/schema/src/cli/plugin-runner.ts
@@ -202,8 +202,7 @@ export class PluginRunner {
202
if (existingPrisma) {
203
corePlugins.push(existingPrisma);
204
plugins.splice(plugins.indexOf(existingPrisma), 1);
205
- } else if (options.defaultPlugins && plugins.some((p) => p.provider !== CorePlugins.Prisma)) {
206
- // "@core/prisma" is enabled as default or if any other plugin is configured
+ } else if (options.defaultPlugins) {
207
corePlugins.push(this.makeCorePlugin(CorePlugins.Prisma, options.schemaPath, {}));
208
}
209
0 commit comments