Open Candice-Louw opened 3 years ago
@VitaliHZI - please add any additional acceptance criteria that I may have missed.
@Candice-Louw for me it looks fine.
@Jbartsch - please feel free to add additional requirements from your side. :)
Ok I think we can do this as an automated step in our release:
sormas_schema.sql
in apply it to postgres
container. No need to spin up a complete SORMAS isntance. This is much more lightweight.@MallerBeach - please see if this would be a solution going forward and if you have any additional requirements to add.
@Candice-Louw thanks for your proposed solution. I would appreciate it.
Problem Description
SORMAS administrators are dependent on viewing the SORMAS database structure after each release in order to correctly interpret data received from the application and export it to other applications (MED export for CH, for example) after a database structural change has happened.
Proposed Solution
Generate a new ER Diagram of the database structure of each release and publish it with the release notes on GitHub (https://github.com/hzi-braunschweig/SORMAS-Project/releases) as a direct download or asset of the release. Please incorporate this into the release process going forward for every version.
Possible Alternatives
Alternative suggestions on locations where to publish the diagram (for example on the GitHub Wiki? Elsewhere?) after each release, are most welcome.
Additional Information
Acceptance criteria - ER Diagram:
Current solution: Generating a SchemaSpy scheme: https://github.com/hzi-braunschweig/SORMAS-Glossary#schemaspy (preferred solution) Netzlink solution: PNG image