-
Notifications
You must be signed in to change notification settings - Fork 20
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 i can get multiple AfterUpdate #48
Comments
I've been poking around in the lib for my own purposes and may have a solution for this. The |
I'm facing the same issue, and the suggestion by @kjkrum was great, but for those who does not have much experience with extension creation this can be "painful" and make them leave this package aside. So @win7user10 I think that it would be nice if you refactor the trigger creation annotation to accept an optional name, so in the trigger class would have something like: It would be an expected behavior since when we create triggers with raw SQL we can name them as we want, but with your convention we could have some consistency. |
The syntax for multiple actions is
|
@MacyF, I should see the source. As I remember, there was a problem with removing the trigger in the Down() method of migration when the trigger name was not a constant. But there were a lot of modifications since that time, and maybe it is possible now. |
Thanks you for the tip, but with some help I'm managed to the the job through raw sql. |
Hello
Thankyou for this wonderful package, i wondering if its possible to create a multiple AfterUpdate with diffrents Names?
The text was updated successfully, but these errors were encountered: