Expand description
This module holds the internal model representation The Internal Model Representation used by our migration cli tool
Structs§
- Annotation
Iter - An iterator over the variants of Annotation
- Field
- Model’s fields i.e. the table’s columns
- Foreign
Key - Represents a foreign key
- Index
Value - Represents a complex index
- Internal
Model Format - A collection of all models used in the resulting application
- Model
- A single model i.e. database table
- Source
- Location in the source code a Model or Field originates from Used for better error messages in the migration tool
Enums§
- Annotation
- The subset of annotations which need to be communicated with the migration tool
- DbType
- All column types supported by the migration tool
- Default
Value - A column’s default value which is any non object / array json value
- Referential
Action - Action that gets trigger on update and on delete.