mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 23:07:57 +00:00
pallet-uniques: Move migration over to VersionedMigration (#2687)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
title: "pallet-uniques: Move migration over to `VersionedMigration`"
|
||||
|
||||
doc:
|
||||
- audience: Runtime Dev
|
||||
description: |
|
||||
Moves the migration over to `VersionedMigration`. Thus, if you had
|
||||
used `migrate_to_v1` before in a custom `OnRuntimeUpgrade` implementation
|
||||
you can now directly use the `MigrateV0ToV1`.
|
||||
|
||||
migrations:
|
||||
runtime:
|
||||
- reference: MigrateV0ToV1
|
||||
description: |
|
||||
Migrate the pallet storage from `0` to `1` by initializing
|
||||
the `CollectionAccount` storage entry from all collections.
|
||||
|
||||
crates:
|
||||
- name: "pallet-uniques"
|
||||
Reference in New Issue
Block a user