Skip to content

Commit 8668c1c

Browse files
committed
no-mistakes(document): Docs checked against the Prisma change; no stale facts remain. No edits made.
1 parent bcb52f8 commit 8668c1c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎server/typescript/packages/codegen-ts/src/generators/prisma-schema-file.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ function resolveProvider(ctx: GenContext, options: PrismaSchemaFileOptions): Pri
7272
const source = options.provider !== undefined ? `provider '${String(options.provider)}'` : `dialect '${ctx.config.dialect}'`;
7373
throw new PrismaSchemaError(
7474
ERR_PRISMA_UNSUPPORTED_PROVIDER,
75-
`prisma-schema writes a schema for the postgresql, mysql and sqlite providers, and the ${source} is none of ` +
76-
`them. Pass the provider of the database Prisma connects to: prismaSchemaFile({ provider: "postgresql" }).`,
75+
`prisma-schema writes a schema for the postgresql, mysql and sqlite providers, and the ${source} is none of them. Pass the provider of the database Prisma connects to: prismaSchemaFile({ provider: "postgresql" }).`,
7776
);
7877
}
7978
return provider;

‎server/typescript/packages/codegen-ts/src/reference/prisma-schema.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ function resolveProvider(ctx: GenContext, options: PrismaSchemaFileOptions): Pri
9898
const source = options.provider !== undefined ? `provider '${String(options.provider)}'` : `dialect '${ctx.config.dialect}'`;
9999
throw new PrismaSchemaError(
100100
ERR_PRISMA_UNSUPPORTED_PROVIDER,
101-
`prisma-schema writes a schema for the postgresql, mysql and sqlite providers, and the ${source} is none of ` +
102-
`them. Pass the provider of the database Prisma connects to: prismaSchemaFile({ provider: "postgresql" }).`,
101+
`prisma-schema writes a schema for the postgresql, mysql and sqlite providers, and the ${source} is none of them. Pass the provider of the database Prisma connects to: prismaSchemaFile({ provider: "postgresql" }).`,
103102
);
104103
}
105104
return provider;

0 commit comments

Comments
 (0)