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

Support for excluding specific actions from table history via annotations/options #45

Closed
mehmetcuneyit opened this issue Apr 7, 2024 · 3 comments · Fixed by #47
Closed
Labels
enhancement New feature or request

Comments

@mehmetcuneyit
Copy link
Contributor

I would like to be able to disable history on certain hooks ( one or two of Create/Update/Delete) for a particular table.

My objective is to prevent the history tables from being populated with create/delete actions but keeping update actions. I'm looking for a way to exclude these actions, ideally through some form of annotation or options.

@mehmetcuneyit mehmetcuneyit added the enhancement New feature or request label Apr 7, 2024
@frisbm
Copy link
Collaborator

frisbm commented Apr 8, 2024

Hey again @mehmetcuneyit I should be able to implement this pretty easily. Are you looking at this as an option per schema or as a global option?

@mehmetcuneyit
Copy link
Contributor Author

A hybrid approach seems promising for the long term, but for the near term, I'm leaning towards a per-schema option. Please let me know if there's any way I can assist or contribute to expedite the process.

@frisbm
Copy link
Collaborator

frisbm commented Apr 11, 2024

@mehmetcuneyit PR is up for this, should be in and released today

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

Successfully merging a pull request may close this issue.

2 participants