{"id":14974054,"url":"https://github.com/qwat/qwat-data-model","last_synced_at":"2025-05-07T16:08:05.909Z","repository":{"id":24777297,"uuid":"28190802","full_name":"qwat/qwat-data-model","owner":"qwat","description":"TEKSI Water module (project QWAT) - PostgreSQL / postgis Datamodel ","archived":false,"fork":false,"pushed_at":"2025-05-05T12:17:55.000Z","size":32896,"stargazers_count":23,"open_issues_count":62,"forks_count":24,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-07T16:07:37.169Z","etag":null,"topics":["plpgsql","postgis","postgresql","qgis"],"latest_commit_sha":null,"homepage":"https://www.teksi.ch","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qwat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-12-18T16:13:05.000Z","updated_at":"2025-05-05T07:34:09.000Z","dependencies_parsed_at":"2025-01-03T01:15:01.036Z","dependency_job_id":"72bb31a8-df10-4a41-86c0-ce7c800abb45","html_url":"https://github.com/qwat/qwat-data-model","commit_stats":{"total_commits":1039,"total_committers":25,"mean_commits":41.56,"dds":0.5948026948989413,"last_synced_commit":"a44e1a045548cb29fc499570ac60a65a6974fe7a"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwat%2Fqwat-data-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwat%2Fqwat-data-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwat%2Fqwat-data-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwat%2Fqwat-data-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwat","download_url":"https://codeload.github.com/qwat/qwat-data-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912993,"owners_count":21824065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plpgsql","postgis","postgresql","qgis"],"created_at":"2024-09-24T13:49:53.172Z","updated_at":"2025-05-07T16:08:05.894Z","avatar_url":"https://github.com/qwat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qwat-data-model\n\n[![Build Status](https://travis-ci.org/qwat/qwat-data-model.svg?branch=master)](https://travis-ci.org/qwat/qwat-data-model)\n\nThis repository contains the definition of the data model used by [QWAT](https://github.com/qwat/QWAT) project, a module aimed at managing a water network in QGIS.\n\nA full web data model documentation with diagrams and relations is available [here](https://rawgit.com/qwat/qwat-data-model/master/diagram/index.html).\n\n# Model changelog ([Detailed](https://github.com/qwat/qwat-data-model/releases/))\n\n- v1.4.0 : TODO \n- v1.3.6 : Add sia405 mapping fields for interlis Export\n- v1.3.5 : Minors typo fixes #314 #315\n- v1.3.4 : Remove SIRE from core, add value list for valve nominal diameter\n- v1.3.3 : Support for customizations\n- v1.3.2 : SIRE extension and infrastructure enhancements\n- v1.3.1 : fix z computation logic for valves\n- v1.3.0 : Switch from custom version control to generic Postgres Update Manager\n- v1.2.8 : add hardcoded schema_visible field to pipes and valves for enhanced performance on QGIS\n- v1.2.7 : AutoPrint Mapview\n- v1.2.6 : Fixes issue 177. Pipes were not audited by audit log system.\n- V1.2.5 : Adds a scale field to print maps\n- v1.2.4 : Fixes bugs when deleting objects https://github.com/qwat/QWAT/issues/174\n- v1.2.2 : Integrates the new audit history system. Fixes an issue with multiple primary keys in conformity check procedure\n- v1.2.1 : Allow installation type change (done in trigger function generated by submodule meta-project generator).\n- v1.2.0 : Simplification of the trigger on views, ie there are no more triggers in cascade generated by the inheritance model. That modification does not affect the data-model code, but the change deserves a change in QWAT version number.\n- v1.1.1 : Adds the ability to use post delta files to check auto generated triggers in model\n- v1.1.0 : Remove valve inheritance from nodes.\n- v1.0.1 : Add functionnal to vl status (meaning the object is ready to be used). This is useful to allow finer printing (print inactive but functional objects)\n- v1.0.0 : First version (3 june 2016)\n- v0.1 : Proof of concept model\n\n## Release\n\nRealeases are made using github actions when a new release is created. The tag must be of format `x.y.z`.\n\n## Tests\n\nTests are run automatically on commit by github actions.\n\nTo run them locally (please refer to `run_tests.yml` for up to date steps):\n```sh\n# start a dev postgis server\ndocker run --rm -d -p 5432:5432 -e POSTGRES_DB=qwat_test -e POSTGRES_PASSWORD=postgres --name=qwat_test_db postgis/postgis:16-3.5\n\n# include the pgservices for test database\ncat ./tests/pg_service.conf \u003e\u003e ~/.pg_service.conf\n\n# install dependencies\npip install -r requirements.txt\n\n# run tests\ntests/tests.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwat%2Fqwat-data-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwat%2Fqwat-data-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwat%2Fqwat-data-model/lists"}