git.delta.rocks / unique-network / refs/commits / e1144a8578c2

difftreelog

Update migrations.md

Farhad Hakimov2022-10-28parent: #86b8bcb.patch.diff
in: master

1 file changed

modifiedmigrations.mddiffbeforeafterboth
1# **930032 < 930031**1# **930032 < 924010**
22
3No migration changes.
4
5# **930031 < 929031**
6
7No migration changes.
8
9# **929031 < 929030**
10
11No migration changes.
12
13# **929030 < 927030**
14
15### **pallet-common**
16
17* Replaced returned weight `0` with `Weight::zero()`
18
19### **pallet-nonfungible**
20
21* Replaced returned weight `0` with `Weight::zero()`
22
23### **pallet-refungible**
24
25* Replaced returned weight `0` with `Weight::zero()`
26
27### **pallet-unique**
28
29* Replaced returned weight `0` with `Weight::zero()`
30
31# **927030 < 927020**
32
33No migration changes.
34
35# **927020 < 924020**
36
37No migration changes.
38
39# **924020 < 924012**
40
41### **pallet-refungible**:
42
43* Removed the previous migration:
44 * bump of the storage version to 1
45* Added:
46 * if the storage version is below 2, cleaning of all storage of now-redundant **TokenData**
47 * bump of the storage version to 2
48
49# **924012 < 924011**
50
51### **pallet-unique:**
52
53* Removed the previous migration of:
54 * unconditional cleaning of all storage of **VariableMetaDataBasket** (cache for sponosoring setting deprecated variable metadata)
55
56# **924011 < 924010**
57
58### **pallet-common:**3### **pallet-common:**
594
60* Removed the previous migration of:5* Removed the previous migration of:
63 * displacing _acccess, mint_mode_ into _permissions.access, permissions.mint_mode_8 * displacing _acccess, mint_mode_ into _permissions.access, permissions.mint_mode_
64 * adding _external_collection_ flag9 * adding _external_collection_ flag
65* Added unconditional bump of the storage version to 110* Added unconditional bump of the storage version to 1
11* Replaced returned weight `0` with `Weight::zero()`
6612
67### **pallet-nonfungible:**13### **pallet-nonfungible:**
6814
71 * displacing _const_data, variable_data_ into _properties_17 * displacing _const_data, variable_data_ into _properties_
72 * adding permission for the collection admin to set the immutable __old_constData_ property18 * adding permission for the collection admin to set the immutable __old_constData_ property
73* Added unconditional bump of the storage version to 119* Added unconditional bump of the storage version to 1
20* Replaced returned weight `0` with `Weight::zero()`
7421
75### **pallet-refungible:**22### **pallet-refungible:**
7623
77* Removed the previous migration of:24* Removed the previous migration of:
78 * if the storage version is below 1, all items from storage **TokenData** of struct **ItemData** version 1 to version 2, consisting of:25 * if the storage version is below 1, all items from storage **TokenData** of struct **ItemData** version 1 to version 2, consisting of:
79 * removing _variable_data_26 * removing _variable_data_
80* Added unconditional bump of the storage version to 127* 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 2
30* Replaced returned weight `0` with `Weight::zero()`
31
32### **pallet-unique:**
33
34* Removed the previous migration of:
35 * unconditional cleaning of all storage of **VariableMetaDataBasket** (cache for sponosoring setting deprecated variable metadata)
36