Module frame_support::migrations
source · Structs§
RemovePallet
is a utility struct used to remove all storage items associated with a specific pallet.- Handles storage migration pallet versioning.
Enums§
- A helper enum to wrap the pre_upgrade bytes like an Option before passing them to post_upgrade. This enum is used rather than an Option to make the API clearer to the developer.
Traits§
- Trait used by
migrate_from_pallet_version_to_storage_version
to do the actual migration. - Can store the current pallet version in storage.
Functions§
- Migrate from the
PalletVersion
struct to the newStorageVersion
struct.