Module imr

Module imr 

Source
Expand description

This module holds the internal model representation The Internal Model Representation used by our migration cli tool

Structs§

AnnotationIter
An iterator over the variants of Annotation
Field
Model’s fields i.e. the table’s columns
ForeignKey
Represents a foreign key
IndexValue
Represents a complex index
InternalModelFormat
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
DefaultValue
A column’s default value which is any non object / array json value
ReferentialAction
Action that gets trigger on update and on delete.