teksi / wastewater

[DEV] Future TEKSI wastewater module, adapted data model to fit VSA-DSS 2020 new standard
https://teksi.github.io/wastewater
GNU General Public License v3.0
2 stars 5 forks source link

Update functions and triggers #491

Closed ponceta closed 1 hour ago

ponceta commented 2 weeks ago

General

Describe your changes

This aims to fix https://github.com/teksi/wastewater/issues/485

Screenshots

Documentation

Management functions :

Modification functions:

Symbology functions:

Issue ticket number and link

https://github.com/teksi/wastewater/issues/485

Checklist before requesting a review

Checklist before merge

ponceta commented 1 week ago

@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

image

ponceta commented 3 hours ago

@cymed if you can leave a comment on this I would very much appreciate! :)

cymed commented 3 hours ago

I agree with 3nids on keeping triggers and trigger functions together. I like separating the base functions from the trigger functions and the triggers. As discussed in #438, we should also allow intermediate tables (although I don't know why we need these tables, a materialized view should do the job)