You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/06/19 16:49:17 UTC

(tooling-trusted-releases) branch sbp updated: Add an expedited property to releases

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/sbp by this push:
     new 5edf5967 Add an expedited property to releases
5edf5967 is described below

commit 5edf59676981b2977c4eab78dbb717a87993aa9c
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Jun 19 17:45:17 2026 +0100

    Add an expedited property to releases
---
 atr/models/sql.py                               |  1 +
 migrations/versions/0096_2026.06.19_6477e2b7.py | 27 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/atr/models/sql.py b/atr/models/sql.py
index d2b0f83b..fa7d7be1 100644
--- a/atr/models/sql.py
+++ b/atr/models/sql.py
@@ -1304,6 +1304,7 @@ class Release(sqlmodel.SQLModel, table=True):
     # Set at start time when the user opts in to archiving the prior release
     # in this cycle when this release is announced.
     archive_prior_release: bool = sqlmodel.Field(default=False)
+    expedited: bool = sqlmodel.Field(default=False)
 
     check_cache_key: str | None = sqlmodel.Field(default=None, **example("ef0ccb0a-3514-4b65-abcd-879850349f74"))
 
diff --git a/migrations/versions/0096_2026.06.19_6477e2b7.py b/migrations/versions/0096_2026.06.19_6477e2b7.py
new file mode 100644
index 00000000..946ded1e
--- /dev/null
+++ b/migrations/versions/0096_2026.06.19_6477e2b7.py
@@ -0,0 +1,27 @@
+"""Add expedited to release
+
+Revision ID: 0096_2026.06.19_6477e2b7
+Revises: 0095_2026.06.18_0d079d90
+Create Date: 2026-06-19 16:20:01.006185+00:00
+"""
+
+from collections.abc import Sequence
+
+import sqlalchemy as sa
+from alembic import op
+
+# Revision identifiers, used by Alembic
+revision: str = "0096_2026.06.19_6477e2b7"
+down_revision: str | None = "0095_2026.06.18_0d079d90"
+branch_labels: str | Sequence[str] | None = None
+depends_on: str | Sequence[str] | None = None
+
+
+def upgrade() -> None:
+    with op.batch_alter_table("release", schema=None) as batch_op:
+        batch_op.add_column(sa.Column("expedited", sa.Boolean(), nullable=False, server_default=sa.false()))
+
+
+def downgrade() -> None:
+    with op.batch_alter_table("release", schema=None) as batch_op:
+        batch_op.drop_column("expedited")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org