git.delta.rocks / unique-network / refs/commits / 5509757640ce

difftreelog

source

migrations.md1.7 KiBsourcehistory
1# **930032 < 924010**23### **pallet-common:**45* Removed the previous migration of:6    * if the storage version is below 1, all collections from storage **CollectionById** of struct **Collection** version 1 to version 2, consisting of:7        * displacing _offchain_schema, variable_on_chain_schema, const_on_chain_schema, schema_version_ into _properties_8        * displacing _acccess, mint_mode_ into _permissions.access, permissions.mint_mode_9        * adding _external_collection_ flag10* Added unconditional bump of the storage version to 111* Replaced returned weight `0` with `Weight::zero()`1213### **pallet-nonfungible:**1415* Removed the previous migration of:16    * if the storage version is below 1, all items from storage **TokenData** of struct **ItemData** version 1 to version 2, consisting of:17        * displacing _const_data, variable_data_ into _properties_18        * adding permission for the collection admin to set the immutable __old_constData_ property19* Added unconditional bump of the storage version to 120* Replaced returned weight `0` with `Weight::zero()`2122### **pallet-refungible:**2324* Removed the previous migration of:25    * if the storage version is below 1, all items from storage **TokenData** of struct **ItemData** version 1 to version 2, consisting of:26        * removing _variable_data_27* Added:28    * if the storage version is below 2, cleaning of all storage of now-redundant **TokenData** 29    * unconditional bump of the storage version to 230* Replaced returned weight `0` with `Weight::zero()`3132### **pallet-unique:**3334* Removed the previous migration of:35    * unconditional cleaning of all storage of **VariableMetaDataBasket** (cache for sponosoring setting deprecated variable metadata)