-
Notifications
You must be signed in to change notification settings - Fork 6
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
harmonize trigger enabling/disabling #381
Conversation
Also moving symbology triggers checks out of app, as they are created in sys
for more information, see https://pre-commit.ci
This comment was marked as resolved.
This comment was marked as resolved.
This is really a great cleanup for the future, and this will clearly ease our maintenance efforts for the next years. |
Prefixes are stored in tww_sys.oid_prefixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great and works fine! Thank you @cymed
@sjib please have a look at this and tell us if you're OK, since we moved some of the working logic to the app schema, this could require some adaptation in your datamodel generation scripts. |
@ponceta when this is merged, replicate this logic to TDH for consistency. |
I think I have to take out these lines in the datamodel sql scripts:
and the trigger statements
|
This is all on your side |
@ponceta good to merge? |
- load extensions after creating functions, as oid functions now are inside the app schema - alter function names
General
Describe your changes
We need a way to enable/disable last_modification triggers from the plugin, see #368.
This PR creates the corresponding DB functions and calls them before importing.
Also, it moves symbology trigger checks out of the app folder, as they are created in sys
Screenshots
Issue ticket number and link
Checklist before requesting a review
Checklist before merge