Schema prefixes not working

DMBL.org documentation indicates that a schema can be defined by prefixing a table name.
E.g. Table core.user
DBML - Full Syntax Docs | DBML

This is not working for me
Table ods.programs_of_work as POW {

image

1 Like

Thank you for your report, @divv!

We’re working on implementing the schemas support for dbdiagram. We believe the ability to document schemas will arrive shortly.

Thank you.

Hi. Is there any other way to reference another schema in dbdiagram.io?

Any indication as to when this feature may arrive?

You can use the double quotes as a workaround at the current, like Table "schemaA.tableA". However, your converted SQL from DBML won’t be correct, it will be converted to CREATE TABLE "schemaA.tableA"

Any indication as to when this feature may arrive?

Works are almost done. So maybe it will be ready in the next couple of weeks.

1 Like

Hi, we just released schema support for dbdiagram. You should be able to add prefix before table name now.

Thanks

2 Likes