3

I am using Nodejs, graphQl, Prisma, docker and PostgreSQL, whenever I change Schema the I have to deploy it, but it gives error as follow

ERROR: You can not deploy to a service stage while there is a deployment in progress or a pending deployment scheduled already. Please try again after the deployment finished

"code": 4008,

"status": 200

then I wait for a few minutes and try again the result is same, I tried a lot but the result is same

1 Answer 1

3

This happens when there is an unapplied migration in the management schema.

To resolve this follow the following steps:

  1. Connect to your database using a GUI(like tableplus.io))

  2. Change your database schema to management schema

    image|268x71

  3. Goto the migration table

    image|189x59

  4. Delete the last row

image|690x53

Then try to redeploy your service.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.