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

Pre and post hooks for each operation #651

npeters opened this issue Nov 27, 2013 · 2 comments

Pre and post hooks for each operation #651

npeters opened this issue Nov 27, 2013 · 2 comments


Copy link

npeters commented Nov 27, 2013


I would like to have Hook (Listener) on pre-migration and post-migration.
It can be used to stop and start replication, move db role or do some other stuff

Copy link

Hi Nicolas,

this is something I will look at in the 3.0 time frame.


Copy link

This could also help me with


as I could take the site down for maintenance before the migration happens and then bring it up once it is finished.

dlbunker pushed a commit to dlbunker/flyway that referenced this issue Mar 3, 2014
…ost hooks on the db migrate task. This is an effort to address issue 651 located here:


This task could be updated to include a context that gets passed from listener to listener if there is a need for that.  This would allow listeners to communicate with each other.
@axelfontaine axelfontaine changed the title Hooks: pre-migration and post-migration Pre and post hooks for each operation Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants