mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
27 lines
666 B
Python
27 lines
666 B
Python
"""empty message
|
|
|
|
Revision ID: 0020_add_job_metadata
|
|
Revises: 0019_unique_servicename
|
|
Create Date: 2016-02-22 12:33:02.360780
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '0020_add_job_metadata'
|
|
down_revision = '0019_unique_servicename'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
def upgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('jobs', sa.Column('notification_count', sa.Integer(), nullable=False))
|
|
### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('jobs', 'notification_count')
|
|
### end Alembic commands ###
|