Releases: QGEP/datamodel
1.0.1-4
try with dump rather than plain SQL for data only
1.0.1-3
fix demo dump
fix baseline
1.0.1-2 fix read again
1.0.1: add prefix in views (#68)
1.0
We are proud to announce QGEP 1.0 release!
What's new ?
Datamodel upgrade system
PUM aka the Postgres Upgrade Manager has been integrated into QGEP datamodel. PUM is also available as PyPi package (pip install pum
).
This means that every addition to the data model must be accompanied by a delta file which will be applied on production environment to upgrade the model to the latest release. This delta file is controlled to guarantee that applying it to a former model version leads to the exact same structure like a fresh install.
Schema dispatch
Former version contained a single qgep
schema. The new version dispatches the table into 3 schemas (qgep_od
for ordinary tables, qgep_vl
for value lists and qgep_sys
for system administration tables).
Roles and rights
Thanks to the schema dispatch, QGEP 1.0 allows a finer tuning of access rights to the data model with 4 levels:
- viewer: view all tables
- user: viewer + write access to
qgep_od
- manager: user + write access to
qgep_vl
- sys admin: manager + write access to
qgep_sys
How do I upgrade ?
If you are already in production on a former model, we provide a script to upgrade to 1.0.0. The procedure to perform this upgrade can be found here.
Next model updates will be as simple as running a one line command using pum test-and-upgrade
(and a few arguments).
Do not hesitate to contact us if you need assistance for upgrading.
20180414-160538: update test/demodata (#65)
* update test/demodata * fix version number * use pg_dump 9.6 to produce a proper version * try to upgrade postgresql * run as sudo * update client only * try with postgis 2.4 * take 2 at postgis 2.4 * upgrade client again * remove older pg versions * fix role in dump * fix owner take 2 * complete dump * demodata restored on freshly created db * add submodule with demodata * remove bad submodule folder * fix submodule * do not check public schema in pum * avoid restoring public schema * fix var in string * avoid drop/recreating roles * remove public schema (postgis) from demo data * fix pum new arguments * remove demodata submodule * add deploy script
20180212-171410: Merge pull request #64 from elemoine/ele_fix-migration
Fixes to the migration script
20180202-153911: Merge pull request #60 from marioba/master
PUM integration
20180202-152934: Merge pull request #62 from QGEP/optional_roles
roles are created on demand
20180202-144453
fix schema name typo