Function pallet_migrations::pallet::dispatchables::force_set_cursor
source · pub fn force_set_cursor<T: Config>(cursor: Option<CursorOf<T>>)
Expand description
Allows root to set a cursor to forcefully start, stop or forward the migration process.
Should normally not be needed and is only in place as emergency measure. Note that
restarting the migration process in this manner will not call the
[MigrationStatusHandler::started
] hook or emit an UpgradeStarted
event.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_set_cursor
.