Expand description
Migration registry containing all defined migrations.
Responsibilities:
- Define the static list of all migrations in chronological order.
- Provide a central place to register new migrations.
Not handled here:
- Migration execution logic (see
super::mod.rs). - Individual migration implementations (see
config_migrations.rs,file_migrations.rs).
Invariants/assumptions:
- Migrations are ordered chronologically (oldest first).
- Each migration has a unique ID that never changes.
- New migrations are appended to the end of the list.
Statics§
- MIGRATIONS
- The static registry of all migrations.
Functions§
- get_
all_ migration_ ids - Get all migration IDs.
- get_
migration_ by_ id - Get a migration by its ID.