-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
PipelineRunResult
to PipelineStatus
In preparation for changes in the next commit to avoid ambiguous naming
- Loading branch information
1 parent
89de9ab
commit a7589a2
Showing
6 changed files
with
47 additions
and
23 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
backend/howtheyvote/alembic/versions/1f516b18c4f6_rename_result_column_to_status.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"""Rename result column to status | ||
Revision ID: 1f516b18c4f6 | ||
Revises: 9b35d19b64c4 | ||
Create Date: 2024-12-08 11:25:26.051408 | ||
""" | ||
|
||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "1f516b18c4f6" | ||
down_revision = "9b35d19b64c4" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.alter_column("pipeline_runs", column_name="result", new_column_name="status") | ||
|
||
|
||
def downgrade() -> None: | ||
op.alter_column("pipeline_runs", column_name="status", new_column_name="result") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters