Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme & prisma versions #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JakeRowsell89
Copy link

@JakeRowsell89 JakeRowsell89 commented Sep 23, 2021

I wasn't able to get the current build to work following the readme, it didn't recognise the "deploy" command.

It seems like the prisma v1 API uses prisma deploy:
https://v1.prisma.io/docs/1.34/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/#deploy-the-prisma-datamodel

In prisma v2 I can get it to work using prisma generate:
https://www.prisma.io/docs/reference/api-reference/command-reference#generate

Notes:

  • I have not looked at fixing the docker steps
  • Running the database migrations (prisma migrate dev) don't work due to schema version incompatibilities. This didn't seem like a trivial fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant