fedimint_core::db

Function apply_migrations_server

Source
pub async fn apply_migrations_server(
    db: &Database,
    kind: String,
    migrations: BTreeMap<DatabaseVersion, CoreMigrationFn>,
) -> Result<(), Error>
Expand description

Applies the database migrations to a non-isolated database.