changelog: fix migration listing (#6806)

* changelog: fix runtime migration listing

* changelog: fix db migration listing
This commit is contained in:
Mara Robin B
2023-03-02 00:40:03 +01:00
committed by GitHub
parent 519adbcf3b
commit a1771657f4
2 changed files with 4 additions and 4 deletions
@@ -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 -%}