Expand description
Macros§
Structs§
- Migratex
- Migratex manages the migrations, this is the main struct. Think of it as a “migration manager”, “migrator”, “runner”). It can be used to migrate database / data / files / binaries, etc from one version to another.
Enums§
- Meta
Status - The status of a migration.
Traits§
- Metadata
- Migration
- A migration is a version of a change in the data. It can be a database migration, a file migration, a binary migration, etc. It can be up (upgrade) or down (downgrade / rollback).
Functions§
- init_
meta_ datetimes_ if_ empty - Initialize created_at / updated_at if created_at is empty.
- meta_
loaded - Calls
init_meta_datetimes_if_emptyand returnsOk(meta).
Type Aliases§
- BoxMigration
- BoxMigration is the type of a migration.