Type Alias forest_filecoin::db::migration::migration_map::Migrator

source ·
type Migrator = Arc<dyn MigrationOperation + Send + Sync>;
Expand description

Migrations map. The key is the starting version and the value is the tuple of the target version and the MigrationOperation implementation.

In the future we might want to drop legacy migrations (e.g., to clean-up the database dependency that may get several breaking changes).

Aliased Type§

struct Migrator { /* private fields */ }