-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update functions and triggers #491
base: main
Are you sure you want to change the base?
Conversation
Rename geometry_functions
rename modification_on_reach_delete. Move triggers to triggers.
Add triggers to triggers and network functions to functions
for more information, see https://pre-commit.ci
Set triggers and defaults before inheritance view creation
@domi4484 @cymed @3nids could you review it :
This is already great because a single python instruction can rebuild the whole app and the whole app is cleaned by dropping cascade the app schema |
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.
@ponceta from the code perspective it looks good to me.
For the other questions I am missing some postgres expertise to anwer yet.
In any case whatever comes out from the other questions, this changes doesn't put any limit in future decisions and should be safe to merge
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.
Apart from the trigger file creation, this looks good to me.
I am not sure if I missed something important regarding this, but the main point is function renaming to clearly separate symbology from core netowrk business logic, is this correct?
@@ -0,0 +1,73 @@ | |||
-- only update -> insert and delete are handled by reach trigger |
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.
I'm not a fan of separating the code which create the trigger from the ones which create the trigger functions.
General
Describe your changes
This aims to fix #485
Screenshots
Issue ticket number and link
#485
Checklist before requesting a review
Checklist before merge