fedimint_core::db

Function apply_migrations

Source
pub async fn apply_migrations(
    db: &Database,
    kind: String,
    migrations: BTreeMap<DatabaseVersion, CoreMigrationFn>,
    module_instance_id: Option<ModuleInstanceId>,
    external_prefixes_above: Option<u8>,
) -> Result<(), Error>