Module migration

Source

Structs§

ServerModuleDbMigrationContext
A module-typed wrapper over a typed-erased DynServerDbMigrationContext

Enums§

DynModuleHistoryItem
Typed history item of a module
ModuleHistoryItem
Typed history item of a module

Traits§

IServerDbMigrationContext
An interface a server module db migration context needs to implement
ServerModuleDbMigrationFnContextExt
An extension trait to access module-specific-typed apis of IServerDbMigrationContext injected by the fedimint-server.

Functions§

apply_migrations_server
See apply_migrations_server_dbtx
apply_migrations_server_dbtx
Applies the database migrations to a non-isolated database.

Type Aliases§

DynServerDbMigrationContext
A type-erased value implementing IServerDbMigrationContext
DynServerDbMigrationFn
A DbMigrationFn with inner-context type-erased for all server modules
ServerDbMigrationFnContext
A DbMigrationFnContext with inner-context type-erased around IServerDbMigrationContext
ServerModuleDbMigrationFn
A DbMigrationFn with inner-context type-specific for a given server module
ServerModuleDbMigrationFnContext
A type alias of a DbMigrationFnContext with inner context set to module-specific-typed ServerModuleDbMigrationContext