Skip to main content

Schemas

You can define the tables with full schema names:

Table ecommerce.order_items {
...
}

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 {
...
}

Schemas

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