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

Add river validate command to check for unapplied migrations #170

Merged
merged 1 commit into from
Jan 22, 2024

Commits on Jan 22, 2024

  1. Add river validate command to check for unapplied migrations

    This one's a feature request from a few months from [1] in which we add
    a `river validate` command which fails with a non-zero exit code in case
    there are unapplied migrations in the target database. As described in
    the original discussion, this could be used in a project's CI to detect
    and fail in the presence of a new migration that was part of a River
    version update (giving people an easy way to check programmatically so
    that upgrades aren't as dependent on a user successfully seeing a new
    migration in the changelog).
    
    [1] #68
    brandur committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c7bbf01 View commit details
    Browse the repository at this point in the history