GispoCoding / hame-ryhti

HAME regional land use planning database compatible with national Ryhti data model
MIT License
0 stars 0 forks source link

Make lifecycle_status trigger propagate to *all* plan objects and their regulations #304

Closed Rikuoja closed 1 month ago

Rikuoja commented 3 months ago

Currently, the update lifecycle status trigger is limited to regulations directly linked to plan by plan regulation group.

Make the trigger also work for all plan objects and all regulations in them that are not directly linked to plan.

Probably easiest to do together with #303 , so both new objects and regulations and existing objects are regulations are always in sync with the lifecycle status in the plan.