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

migrate: don't error when there are no migrations #222

Merged
merged 1 commit into from
May 13, 2024

Conversation

JssDWt
Copy link
Collaborator

@JssDWt JssDWt commented May 4, 2024

The migrate Up method returns ErrNoChange ("no change") when there are no migrations to apply. This is a happy flow scenario for the migrations. Just log that there are no migrations and continue.

@JssDWt JssDWt requested a review from hydra-yse May 4, 2024 20:24
@JssDWt JssDWt requested a review from yaslama May 13, 2024 07:23
@JssDWt JssDWt merged commit c951e86 into master May 13, 2024
59 checks passed
@JssDWt JssDWt deleted the jssdwt-no-migrations branch May 24, 2024 10:05
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