Remove the used_legacy_github column
This commit is contained in:
parent
8edcdd94b3
commit
bbf4a1fac4
3 changed files with 53 additions and 4 deletions
|
@ -0,0 +1,25 @@
|
|||
"""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 ###
|
Reference in a new issue