26 lines
680 B
Python
26 lines
680 B
Python
|
"""Remove legacy github column
|
||
|
|
||
|
Revision ID: 73669db7e12
|
||
|
Revises: 35f538da62
|
||
|
Create Date: 2015-11-04 16:18:18.107314
|
||
|
|
||
|
"""
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '73669db7e12'
|
||
|
down_revision = '35f538da62'
|
||
|
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
def upgrade(tables):
|
||
|
### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('repositorybuildtrigger', 'used_legacy_github')
|
||
|
### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade(tables):
|
||
|
### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('repositorybuildtrigger', sa.Column('used_legacy_github', sa.Boolean(), nullable=True))
|
||
|
### end Alembic commands ###
|