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

Modify migration 005 to tolerate the absence of river_migration #465

Merged
merged 1 commit into from
Jul 24, 2024

Commits on Jul 24, 2024

  1. Modify migration 005 to tolerate the absence of river_migration

    Version 0.10.0's migration (005) brought in a number of changes
    including one that adds a new `line` field to the migration table.
    
    It works, but could present a problem for River installations that are
    purposely not using River's migration system, which is a path that even
    if not explicitly recommended, we've been trying to support.
    
    Here, add some conditionals to 005 so that the migration-related changes
    only run if `river_migration` exists. A test verifies that even if 001
    (which brings in `river_migration`) had never run, the up and own
    migrations still work.
    brandur committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    2bd397b View commit details
    Browse the repository at this point in the history