Skip to main content

Module schema

Module schema 

Source

Structs§

ColumnDef
One column. Built with const fns so Fields and Model impls can return &'static [ColumnDef].
Reference
Schema
The merged schema for one configuration: core tables, app fields, every plugin’s tables and columns. Immutable after .build().
SchemaBuilder
Collects tables and columns during .build() and reports clashes with both owners.
TableDef

Enums§

ColumnType
DefaultValue
IdStorage
How ColumnType::Id columns are stored. The configured IdStrategy decides it, and adapters read it from Schema::id_storage or TableDef::id_storage when they create columns and bind ids.
OnDelete