Module schema
Source - EnumDef
- Enum type definition.
- EnumVariant
- Enum variant definition.
- FieldDef
- Definition of a model field.
- FunctionArg
- Function argument definition.
- FunctionDef
- Function definition.
- IndexDef
- Single-column index definition.
- SchemaRegistry
- Global registry of all schema definitions.
This is populated at compile time by the proc macros.
Uses BTreeMap for deterministic iteration order.
- TableDef
- Complete table definition.
- FunctionKind
- Function kind (query, mutation, job, cron, workflow).
- RelationType
- Relation type for foreign key relationships.
- RustType
- Rust type information for code generation.
- SqlType
- PostgreSQL column types.
- ModelMeta
- Trait implemented by all FORGE models.
Generated by the #[forge::model] macro.