Skip to content
{% model %}
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

{% model %}

Valid Children

TagMultiplicity
{% rule %}[*]

Valid Parent Contexts

This tag is valid inside: {% domain %}

Rules

Rule Force Realm Reference Description
model-requires-dbml-fence must global The tag body must contain a DBML fence block. Prose written before or after the fence is treated as a description.
structuredsl

Defines the data model for a domain. Rendered with Diagram, Source, and Description tabs.

DBML model definition inside model tag
tagmodeldbml model-tag-dbml
{% model %}
Tables represent the core persistence layer for this domain.
```dbml
Table users {
id uuid [pk]
email varchar [unique]
}
```
{% /model %}