pub async fn migrate_to_v2(
    module_instance_id: ModuleInstanceId,
    active_states: Vec<(Vec<u8>, OperationId)>,
    inactive_states: Vec<(Vec<u8>, OperationId)>,
    decoders: ModuleDecoderRegistry
) -> Result<Option<(Vec<DynState>, Vec<DynState>)>>
Expand description

Migrates the database from version 1 to version 2. Maps all Unreachable states in the state machine to InputDone.