mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-06 04:27:28 +00:00
42ceb1c1b1
* Move compiler information below priority information * Show docker section by default * Show a mention even if there are no host functions * Fix the wording for the migrations * Fix some wording * Include free notes section * Fix spacing issue * Rename the free notes template * Few minor changes including reworking the tag rendering
27 lines
799 B
Plaintext
27 lines
799 B
Plaintext
{%- import "change.md.tera" as m_c %}
|
||
{%- set_global db_migration_count = 0 -%}
|
||
|
||
## Database Migrations
|
||
|
||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||
|
||
{%- if pr.meta.B and pr.meta.B.value == 0 %}
|
||
{#- We skip silent ones -#}
|
||
{%- else -%}
|
||
{%- if pr.meta.E and pr.meta.E.value == 2 -%}
|
||
{%- set_global db_migration_count = db_migration_count + 1 -%}
|
||
- {{ m_c::change(c=pr) }}
|
||
{% endif -%}
|
||
{% endif -%}
|
||
{% endfor -%}
|
||
|
||
{%- if db_migration_count == 0 -%}
|
||
ℹ️ There is no database migration in this release.
|
||
{% else %}
|
||
|
||
⚠️ There is {{ db_migration_count }} database migration(s) in this release.
|
||
|
||
Database migrations are operations bringing your database to the latest stand.
|
||
Some migrations may break compatibility and making a backup of your database is highly recommended.
|
||
{%- endif %}
|