keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Added support for configuring additional properties to be printed in the prisma schema datasource

Open willemmulder opened this issue 3 years ago • 8 comments

This allows us for example to define referentialIntegrity = "prisma" which is required for databases like PlanetScale

willemmulder avatar Jul 29 '22 13:07 willemmulder

🦋 Changeset detected

Latest commit: adab227de3c392653f598f435f7290861d997fbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@keystone-6/core Minor
@keystone-6/auth Major
@keystone-6/cloudinary Major
@keystone-6/fields-document Major
@keystone-6/session-store-redis Major
@keystone-6/example-auth Patch
@keystone-6/examples-app-basic Patch
@keystone-6/example-with-custom-session-validation Patch
@keystone-6/example-ecommerce Patch
@keystone-6/example-graphql-api-endpoint Patch
@keystone-6/example-roles Patch
@keystone-6/example-testing Patch
@keystone-6/example-with-auth Patch
@keystone-6/sandbox Patch
@keystone-6/website Patch
@keystone-6/example-document-field Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jul 29 '22 13:07 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
keystone-next-docs ✅ Ready (Inspect) Visit Preview Aug 10, 2022 at 10:17PM (UTC)

vercel[bot] avatar Jul 29 '22 13:07 vercel[bot]

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit adab227de3c392653f598f435f7290861d997fbb:

Sandbox Source
@keystone-6/sandbox Configuration

codesandbox-ci[bot] avatar Jul 29 '22 13:07 codesandbox-ci[bot]

Is this linting error something I can fix? I don't see any specific error, and also on my local machine I get a generic "error Command failed with exit code 1"...

willemmulder avatar Aug 04 '22 20:08 willemmulder

Is this linting error something I can fix? I don't see any specific error, and also on my local machine I get a generic "error Command failed with exit code 1"...

Hi @willemmulder... Thanks for the PR!! Running yarn lint on your local machine will show you the files that need fixing, and running yarn format will format those files for you.

borisno2 avatar Aug 09 '22 01:08 borisno2

Is this linting error something I can fix? I don't see any specific error, and also on my local machine I get a generic "error Command failed with exit code 1"...

Hi @willemmulder... Thanks for the PR!! Running yarn lint on your local machine will show you the files that need fixing, and running yarn format will format those files for you.

Thanks! The yarn lint command does not provide any useful error message on my PC (still the "error Command failed with exit code 1") but yarn format does the trick! :-)

willemmulder avatar Aug 10 '22 22:08 willemmulder

@willemmulder that shouldn't happen next time

dcousens avatar Aug 11 '22 00:08 dcousens

@willemmulder that shouldn't happen next time

Ah nice. Thanks for the update!

willemmulder avatar Aug 11 '22 08:08 willemmulder

@dcousens Just to be sure: the linting is fixed.

This is another check that fails. But I think running these checks again would solve the issue, because it is a connection timeout error. Thanks :-)

willemmulder avatar Aug 12 '22 12:08 willemmulder

Thanks @willemmulder! :blue_heart:

dcousens avatar Aug 12 '22 13:08 dcousens

Thanks for merging! I'll be trying out PlanetScale first thing once the new release is out 👍

willemmulder avatar Aug 12 '22 13:08 willemmulder