mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
changelog: fix migration listing (#6806)
* changelog: fix runtime migration listing * changelog: fix db migration listing
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{%- for pr in changes -%}
|
{%- for pr in changes -%}
|
||||||
{%- if pr.meta.B and pr.meta.B.B0 %}
|
{%- if pr.meta.B and pr.meta.B.B0 %}
|
||||||
{#- We skip silent ones -#}
|
{#- We skip silent ones -#}
|
||||||
{%- elif pr.meta.E and pr.meta.E.E2 -%}
|
{%- elif pr.meta.E and pr.meta.E.E1 -%}
|
||||||
{%- set_global db_migration_count = db_migration_count + 1 -%}
|
{%- set_global db_migration_count = db_migration_count + 1 -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
@@ -24,7 +24,7 @@ Some migrations may break compatibility, making a backup of your database is hig
|
|||||||
|
|
||||||
{%- if pr.meta.B and pr.meta.B.B0 %}
|
{%- if pr.meta.B and pr.meta.B.B0 %}
|
||||||
{#- We skip silent ones -#}
|
{#- We skip silent ones -#}
|
||||||
{%- elif pr.meta.E and pr.meta.E.E2 -%}
|
{%- elif pr.meta.E and pr.meta.E.E1 -%}
|
||||||
- {{ m_c::change(c=pr) }}
|
- {{ m_c::change(c=pr) }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{%- for pr in changes -%}
|
{%- for pr in changes -%}
|
||||||
{%- if pr.meta.B and pr.meta.B.B0 %}
|
{%- if pr.meta.B and pr.meta.B.B0 %}
|
||||||
{#- We skip silent ones -#}
|
{#- We skip silent ones -#}
|
||||||
{%- elif pr.meta.E and pr.meta.E.E1 -%}
|
{%- elif pr.meta.E and pr.meta.E.E0 -%}
|
||||||
{%- set_global runtime_migration_count = runtime_migration_count + 1 -%}
|
{%- set_global runtime_migration_count = runtime_migration_count + 1 -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
@@ -23,7 +23,7 @@ Runtime migrations are operations running once during a runtime upgrade.
|
|||||||
|
|
||||||
{%- if pr.meta.B and pr.meta.B.B0 %}
|
{%- if pr.meta.B and pr.meta.B.B0 %}
|
||||||
{#- We skip silent ones -#}
|
{#- We skip silent ones -#}
|
||||||
{%- elif pr.meta.E and pr.meta.E.E1 -%}
|
{%- elif pr.meta.E and pr.meta.E.E0 -%}
|
||||||
- {{ m_c::change(c=pr) }}
|
- {{ m_c::change(c=pr) }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user