fedimint_core::db

Type Alias CoreMigrationFn

Source
pub type CoreMigrationFn = for<'tx> fn(_: MigrationContext<'tx>) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'tx>>;
Expand description

CoreMigrationFn that modules can implement to “migrate” the database to the next database version.