mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 13:08:01 +00:00
b468d0c33e
* Fix doc * Formatting fixes and bump prio if host functions are detected * Add canvas * Bump canvas-kusama's runtime version to 800 * Add db migrations * Prepare for client releases * Split the upload of the context artifact * Rename of the srtool digests to match script default expectations * Fix runtime name for canvas * Fix jobs dependencies when skipping jobs/steps for client builds * Fix CI for the client builds * Fix issue when building in client mode * Bump checkout action to v3 and gate some tests * Fix notification ref #851
27 lines
785 B
Plaintext
27 lines
785 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 -%}
|
|
No Database migration detected 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 %}
|