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

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

commit 4a527dd9ee07981e2602f946063cbcdcda872f75
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Sep 4 19:43:55 2025 +0100

    Add server defaults to the workflow fields migration
---
 migrations/versions/0026_2025.09.04_eb02c4d9.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/migrations/versions/0026_2025.09.04_eb02c4d9.py 
b/migrations/versions/0026_2025.09.04_eb02c4d9.py
index 54e3c81..380c808 100644
--- a/migrations/versions/0026_2025.09.04_eb02c4d9.py
+++ b/migrations/versions/0026_2025.09.04_eb02c4d9.py
@@ -19,9 +19,9 @@ depends_on: str | Sequence[str] | None = None
 
 def upgrade() -> None:
     with op.batch_alter_table("releasepolicy", schema=None) as batch_op:
-        batch_op.add_column(sa.Column("github_compose_workflow_path", 
sa.String(), nullable=False))
-        batch_op.add_column(sa.Column("github_vote_workflow_path", 
sa.String(), nullable=False))
-        batch_op.add_column(sa.Column("github_finish_workflow_path", 
sa.String(), nullable=False))
+        batch_op.add_column(sa.Column("github_compose_workflow_path", 
sa.String(), nullable=False, server_default=""))
+        batch_op.add_column(sa.Column("github_vote_workflow_path", 
sa.String(), nullable=False, server_default=""))
+        batch_op.add_column(sa.Column("github_finish_workflow_path", 
sa.String(), nullable=False, server_default=""))
         batch_op.drop_column("github_workflow_path")
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to