Skip to main content
← Back to index page

πŸ—‚ Support Multiple Schemas

Today we provide you with another powerful tool for documenting your database - Multiple Schemas.

Previously you could only define the table names, and when loaded into dbdocs it falls into the default β€œpublic” schema.

Now, you can define the tables with full schema names:

Table ecommerce.products {
...
}

Moreover, you can make cross-schemas relationships and use enums from different schemas.

Table orders {
id int [pk, ref: < ecommerce.order_items.order_id]
status core.order_status
...
}

Enum core.order_status {
...
}

For more DBML syntax updates, please check out our docs!