migration: add private key to build triggers
This commit is contained in:
parent
5a29218c5c
commit
93a9e9d01a
3 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
"""add private key to build triggers
|
||||
|
||||
Revision ID: 214350b6a8b1
|
||||
Revises: 2b2529fd23ff
|
||||
Create Date: 2015-03-19 14:23:52.604505
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '214350b6a8b1'
|
||||
down_revision = '2b2529fd23ff'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('repositorybuildtrigger', sa.Column('private_key', sa.Text(), nullable=True))
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('repositorybuildtrigger', 'private_key')
|
||||
### end Alembic commands ###
|
Reference in a new issue