navapbc / template-application-flask

Apache License 2.0
7 stars 3 forks source link

Generate database schema diagrams from SQLAlchemy models #220

Open chouinar opened 8 months ago

chouinar commented 8 months ago

Ticket

Resolves #219

Changes

Generate database schema diagrams (ERDs) from our SQLAlchemy tables

Automate this in our CI/CD

Context for reviewers

I added this in the simpler grants.gov codebase that is derived from this: https://github.com/HHS/simpler-grants-gov/pull/824 and this logic is originally from a few of our other projects that the template API is based on.

Testing

The image within this PR was generated by the script which just requires running make db-create-schema-diagrams

The workflow ran on this PR: https://github.com/navapbc/template-application-flask/actions/runs/7302558921/job/19901412292