pub async fn validate_migrations_client<F, Fut, T>(
module: DynClientModuleInit,
db_prefix: &str,
validate: F,
) -> Result<()>
Expand description
Validates the database migrations for a client module. First applies all
database migrations to the module, including the state machine migrations.
Then calls the validate
function, including the new active_states
and
inactive_states
, and is expected to confirm the database migrations were
successful.