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 MigrationHooks API to allow custom behaviour during migration start #290

Merged
merged 8 commits into from
Feb 29, 2024

Commits on Feb 29, 2024

  1. Allow pg settings to be enabled on Start

    Add an option to allow a specific Postgres setting to be enabled on
    migration start.
    
    This is useful when a migration requires a setting to be enabled for the
    duration of the start operation. The setting will be disabled after the
    migration start phase has finished.
    andrew-farries committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    77e78f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d83bd1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70b2e75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9868db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    49e738c View commit details
    Browse the repository at this point in the history
  6. Define MigrationHooks and associated option

    Allow a `Roll` to take migration hooks to be executed at various points
    in the migration.
    andrew-farries committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    e2130c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3ee2fae View commit details
    Browse the repository at this point in the history
  8. Add test for migration hooks

    Check that the hooks are invoked.
    andrew-farries committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7808c1a View commit details
    Browse the repository at this point in the history