Expand description

A type level version of imr::Annotation to be used in generic type bound checks

Structs

Will set the current time of the database when a row is created.
AUTO_INCREMENT constraint
Will set the current time of the database when a row is updated.
A list of choices to set
DEFAULT constraint
Create an index. The optional IndexData can be used, to build more complex indexes.
Represents a complex index
Only for VARCHAR. Specifies the maximum length of the column’s content.
The annotated column will be used as primary key
UNIQUE constraint

Enums

A column’s default value which is any non object / array json value

Traits

Trait for converting a hmr type into a imr one

Type Definitions

Action to take on a foreign key in case of on delete
Action take on a foreign key in case of an update