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

Closed
npeters opened this issue Nov 27, 2013 · 2 comments
Closed

Pre and post hooks for each operation #651

npeters opened this issue Nov 27, 2013 · 2 comments

Comments

@npeters
Copy link

npeters commented Nov 27, 2013

Hello,

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

@axelfontaine
Copy link
Contributor

Hi Nicolas,

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

Cheers
Axel

@ptahchiev
Copy link

This could also help me with

#632

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:

flyway#651

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
Projects
None yet
Development

No branches or pull requests

3 participants