Skip to content

TFRS Automated SchemaSpy Deployment

Matthew Hall edited this page Dec 13, 2018 · 4 revisions

page owner: TFRS-DevOps-Specialist

What is SchemaSpy

SchemaSpy is a tool to explore database schema. It can connect to database and generate html pages and diagrams to reflect the structure of the database.

How SchemaSpy is integrated with TFRS

SchemaSpy is part of TFRS pipeline, once the application is deployed successfully. The SchemaSpy instances will be redeployed to connect to TFRS database and recreate the htmls pages and diagrams in order to show the most up-to-date database structure.

The SchemaSpy URLs for TFRS

Dev

Test

Prod

Database Comments

Django Rest Framework has no way to insert comments into the postgresql database. To overcome this our team built an extension to the DRF.
https://github.com/bcgov/ldf_drf_db_comments
This module is built in support of the Living Documentation Framework