Available on crate feature
db only.Expand description
Database migrations.
Structs§
- AddField
Builder - A builder for adding a field to a model.
- Create
Model Builder - A builder for creating a new model.
- Field
- A field in a model.
- Migration
Dependency - A migration dependency: a relationship between two migrations that tells the migration engine which migrations need to be applied before others.
- Migration
Engine - A migration engine that can run migrations.
- Operation
- A migration operation that can be run forwards or backwards.
- Remove
Field Builder - A builder for removing a field from a model.
- Remove
Model Builder - A builder for removing a model.
Enums§
- Migration
Engine Error - An error that occurred while running migrations.
Traits§
- DynMigration
- A trait for defining a migration that can be dynamically applied.
- Migration
- A trait for defining a migration.
Functions§
- wrap_
migrations - Wrap a list of statically defined migrations into a dynamic
Vec.
Type Aliases§
- Sync
DynMigration - A type alias for a dynamic migration that is both
SendandSync.