Skip to content

Conversation

@taisph
Copy link

@taisph taisph commented Jan 21, 2025

The check command checks for pending migrations and returns an error if
there are any.

This allows a user to use it in a script where the user doesn't want to
run the migrations but still ensure that there are none pending before
continuing.

For example, when using a Kubernetes Job to perform migrations while a
Deployment runs the service itself, a user may want to prevent the
Deployment from starting fully before the migrations have completed.

@taisph taisph force-pushed the feat-check-pending branch 2 times, most recently from c6d76f2 to bdbfb55 Compare January 21, 2025 16:55
The check command checks for pending migrations and returns an error if
there are any.

This allows a user to use it in a script where the user doesn't want to
run the migrations but still ensure that there are none pending before
continuing.

For example, when using a Kubernetes Job to perform migrations while a
Deployment runs the service itself, a user may want to prevent the
Deployment from starting fully before the migrations have completed.
@taisph taisph force-pushed the feat-check-pending branch from bdbfb55 to 547898f Compare January 22, 2025 07:46
@taisph taisph marked this pull request as ready for review January 22, 2025 08:48
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