fedimint_core::db

Function apply_migrations_server_dbtx

Source
pub async fn apply_migrations_server_dbtx(
    global_dbtx: &mut DatabaseTransaction<'_>,
    kind: String,
    migrations: BTreeMap<DatabaseVersion, CoreMigrationFn>,
) -> Result<(), Error>
Expand description

Applies the database migrations to a non-isolated database.