datnguye / dbterd

Generate the ERD as a code from dbt artifacts
https://dbterd.datnguyen.de/
MIT License
208 stars 30 forks source link

[FEAT] Disable use of double quotes in table name to display Schemas in dbdocs.io #113

Closed Svendewaard closed 4 months ago

Svendewaard commented 4 months ago

Is your feature request related to a problem? Please describe: All tables are currently named using the --entity-name-format flag, e.g. schema.table The names then get rendered in double quotes: Table "finance_cubes.invoices" { .... } However, dbdocs does not recognize the schema name as being a schema; it simply takes the whole name as the name of the table: image

Describe the solution you'd like: An option to somehow remove the double quotes to allow dbdocs to recognize the schemas and display them as such in their visualization tool: image

datnguye commented 4 months ago

Thanks @Svendewaard for this! I am not aware of this and it seems very specific to dbml target module. Lemme try to prioritize this one this weekend

datnguye commented 4 months ago

It should be available with v1.14 here