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

How to Use afterMigrate__ or call back in evolve ?? #238

Closed
maulikhdave9601672767 opened this issue Sep 23, 2021 · 2 comments
Closed

How to Use afterMigrate__ or call back in evolve ?? #238

maulikhdave9601672767 opened this issue Sep 23, 2021 · 2 comments
Labels

Comments

@maulikhdave9601672767
Copy link

maulikhdave9601672767 commented Sep 23, 2021

How to Use afterMigrate__ or call back in evolve ??
my issue is i want use sql call back after each migrate
please let me know how i can use it?
i want to use my own afterMigrate__permission.sql call back how can i use it

@lecaillon
Copy link
Owner

Currently there is no callback in Evolve. But you can create a repeatable migration with the new instruction -- evolve-repeat-always in the content of the migration using Evolve 3.1.0-alpha1
This way at the end of each Evolve execution your repeatable migration will be exeecuted even if its hash hasn’ t changed.

@maulikhdave9601672767
Copy link
Author

ok thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants