pgroll icon indicating copy to clipboard operation
pgroll copied to clipboard

Make `pgroll migrate` idempotent

Open kvch opened this issue 7 months ago • 0 comments

If there is a pending migration when running pgroll migrate, do not return an error. This can be useful when running migrate in a CI/CD env, and many jobs are trying to update the same database.

The current workaround is to check the status of the migrations using pgroll status and only run migrate if there is no ongoing migration.

kvch avatar Apr 22 '25 16:04 kvch