The ability to download the diagrams via dbdocs CLI.
Possible use cases / scenarios:
- For automation of documentation updates.
If you want us to support this feature as well, please share your story and vote this topic.
The ability to download the diagrams via dbdocs CLI.
Possible use cases / scenarios:
If you want us to support this feature as well, please share your story and vote this topic.
We use dbt to load our data warehouse. dbt is open source and increasingly popular for cloud data warehousing.
dbt generates database documentation and provides really nice data dependency graphs and comprehensive information on the tables. But, many properties like nullability, uniqueness and foreign key relationships are not immediately visible in the dbt documentation, they are expressed as tests on the data since there is no builtin support for them. We use dbdocs to visualize those properties.
I already have some automation for:
We use Notion for other documentation, I would consider tinkering with the Notion API to update ER-diagrams in there as well.
I think being able to automatically update all occurrences of an ER-diagram by maintaining only one dbml file has many uses.
I would like to see a CLI version to export diagrams as part of our CI/CD tool chain.