<filename>dataactcore/migrations/versions/65ce5d505f12_add_error_severity.py
"""add_error_severity

Revision ID: 65ce5d505f12
Revises: <PASSWORD>
Create Date: 2016-07-26 13:39:13.003391

"""

# revision identifiers, used by Alembic.
revision = '65ce5d505f12'
down_revision =  '50faca665f9c'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('error_metadata', sa.Column('severity_id', sa.Integer(), nullable=True))
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('error_metadata', 'severity_id')
    ### end Alembic commands ###

<filename>dataactcore/migrations/versions/65ce5d505f12_add_error_severity.py
"""add_error_severity

Revision ID: 65ce5d505f12
Revises: <PASSWORD>
Create Date: 2016-07-26 13:39:13.003391

"""

# revision identifiers, used by Alembic.
revision = '65ce5d505f12'
down_revision =  '50faca665f9c'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('error_metadata', sa.Column('severity_id', sa.Integer(), nullable=True))
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('error_metadata', 'severity_id')
    ### end Alembic commands ###

add_error_severity  Revision ID: 65ce5d505f12 Revises: <PASSWORD> Create Date: 2016-07-26 13:39:13.003391 # revision identifiers, used by Alembic. ### commands auto generated by Alembic - please adjust! ### ### end Alembic commands ### ### commands auto generated by Alembic - please adjust! ### ### end Alembic commands ###