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

indexer: relax migration check #19558

Merged
merged 2 commits into from
Sep 25, 2024
Merged

indexer: relax migration check #19558

merged 2 commits into from
Sep 25, 2024

Commits on Sep 25, 2024

  1. indexer: relax migration check

    ## Description
    
    It's okay for the list of locally known migrations to be a subset of the
    applied migrations, rather than a prefix (The only clear issue is if
    there is a migration that has been embedded locally, but that hasn't
    been run on the DB).
    
    ## Test plan
    
    New unit test:
    
    ```
    sui-indexer$ cargo nextest run
    ```
    
    And confirm against the production DB.
    amnn committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3f2085a View commit details
    Browse the repository at this point in the history
  2. fixup: no need for ordering

    amnn committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    d34d749 View commit details
    Browse the repository at this point in the history