v0.13.0
This update is authored by @igalklebanov and improves the generation of datasources by automatically wrapping provider text in quotation marks. This is a breaking change from before, where you would have had to manually insert quotation marks into your values in order for the schema file to be valid. You no longer need to do that.
// if you had been writing this:
builder.datasource('"postgres"', { env: "DATABASE_URL" });
// you should now write it as
builder.datasource('postgres', { env: "DATABASE_URL" });This brings the implementation inline with how it was intended to work in the documentation and EXAMPLES.md.
- chore: update snapshots. aeedcee
- fix(PrismaSchemaBuilder): datasource provider not out as string literal. edce5b7