Type Alias fedimint_core::db::ServerMigrationFn

source ·
pub type ServerMigrationFn = for<'r, 'tx> fn(_: &'r mut DatabaseTransaction<'tx>) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'r>>;
Expand description

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