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

(ISSUE-272) Allow to disable mod plugin in sync_triggers #273

Merged

Conversation

nanvel
Copy link
Contributor

@nanvel nanvel commented Apr 17, 2022

The pg audit function was failing because it is built with _mod feature enabled by default.

There are a few ways to disable it, I had to copy/change sync_triggers, and I see other developers fork the repository. Neither of the solutions is good.

This PR allows passing create_triggers arguments as sync_triggers kwargs.

I don't see a good way to detect if the plugin is enabled in sync_triggers.

@marksteward
Copy link
Collaborator

Thanks for this! I don't use the trigger-based versioning, so please let me know if there are any other outstanding issues and I'll put aside some time to improve documentation. I'm currently aware of #272 and #114.

@marksteward marksteward merged commit 92eeb1e into kvesteri:master Apr 18, 2022
@nanvel nanvel deleted the ISSUE-272-kwargs_for_sync_triggers branch April 18, 2022 15:43
AbdealiLoKo pushed a commit to AbdealiLoKo/sqlalchemy-continuum that referenced this pull request Aug 23, 2022
Pass sync_triggers kwargs through to create_triggers

Allows use of native versioning without mod tracking
indiVar0508 pushed a commit to indiVar0508/sqlalchemy-continuum that referenced this pull request Sep 11, 2022
Pass sync_triggers kwargs through to create_triggers

Allows use of native versioning without mod tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants