Expand description
Types to declare schemas and migrations.
A good starting point is too look at crate::migration::schema.
Macros§
- Creates an instance of
Expect
from string literal:
Structs§
- This is the type used to return table alterations in migrations.
- This is the type used to return table creations in migrations.
- Migrator is used to apply database migrations.
- Special table name that is used as souce of newly created tables.
- Prepare is used to open a database from a file or in memory.
Attribute Macros§
- Use this macro to define your schema.