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 complete phase hooks #335

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Add complete phase hooks #335

merged 2 commits into from
Apr 10, 2024

Conversation

andrew-farries
Copy link
Collaborator

Extend MigrationHooks with two new hooks:

  • BeforeCompleteDDL - run before any DDL operations on migration completion.
  • AfterCompleteDDL - guaranteed to run after DDL operations on migration complete are finished.

These hooks can be used, for example, to temporarily switch off schema replication until all DDL has completed.

@andrew-farries andrew-farries requested a review from exekias April 8, 2024 11:55
@andrew-farries andrew-farries merged commit d5d4bea into main Apr 10, 2024
44 checks passed
@andrew-farries andrew-farries deleted the add-complete-phase-hooks branch April 10, 2024 14:07
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.

2 participants