-
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 main cover if new cover is added and fk is null #58
Conversation
@cymed Would this also help to not have to run this query after an INTERLIS import?
|
Only if the wastewater structures are imported before the covers. Otherwise just call |
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.
Looks good to me.
Function is now included in teksi#97
PR now only adds the function tww_app.update_wastewater_structure_fk_main_cover to update_wastewater_structure_fk_main_cover. tww_app.update_wastewater_structure_fk_main_cover is defined in #97 |
merge new main into merge-upstream
When adding a cover, if the fk_wastewater_structure has no fk_main_cover, the added cover should be used