-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from citysciencelab/name_process_title
Add process_title and name to job
- Loading branch information
Showing
4 changed files
with
93 additions
and
24 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"""Add process title | ||
Revision ID: 1.0.1 | ||
Revises: | ||
Create Date: 2024-08-29 11:14 | ||
""" | ||
from alembic import op | ||
from sqlalchemy import Column, String | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '1.0.1' | ||
down_revision = '1.0.0' | ||
branch_labels = 'add_process_title_and_name' | ||
depends_on = '1.0.0' | ||
|
||
|
||
def upgrade(): | ||
op.add_column('jobs', Column('process_title', String())) | ||
op.add_column('jobs', Column('name', String())) | ||
|
||
def downgrade(): | ||
pass |
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