-
Notifications
You must be signed in to change notification settings - Fork 77
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
Better auditing #87
Comments
Auditing was one of the use cases I had in my mind when I designed the hook feature. You should create a separate table for auditing. Then insert those information you need using hooks. |
I can get onboard with that thinking. Can I use hooks to inject environment variables? like |
Sure. In a JavaScript hook script, you can get environment variables as follows. java.lang.System.getenv("SSH_CLIENT"); It's still Java :) |
Well, since I would be adding to a DB then I really need to have a templated insert statement for the hook. |
I have been evaluating several db migration tools and mybatis has been the most promising (+1)
However, one thing that I would love to see is better auditing in the change log.
Specifically:
This is kinda the schema I had in mind:
Based on what I am seeing from this project I can probably achieve this with hooks. It would be great to have it baked in
The text was updated successfully, but these errors were encountered: