Skip to content

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