Skip to content
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

add _active to tww_od.organisation #150

Merged
merged 4 commits into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions datamodel/changelogs/0001/05_data_model_extensions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,13 @@ ALTER TABLE tww_od.wastewater_node ADD COLUMN _status integer;
COMMENT ON COLUMN tww_od.wastewater_node._status IS 'not part of the VSA-DSS data model
added solely for TEKSI Wastewater & GEP
has to be updated by triggers';

ALTER TABLE tww_od.organisation ADD COLUMN _active bool;
COMMENT ON COLUMN tww_od.organisation._active IS 'not part of the VSA-DSS data model
added solely for TEKSI Wastewater & GEP
used to filter organisations';

ALTER TABLE tww_od.organisation ADD COLUMN _local_extension bool;
COMMENT ON COLUMN tww_od.organisation._local_extension IS 'not part of the VSA-DSS data model
added solely for TEKSI Wastewater & GEP
used to map non-harmonized organisations to private on export';