Script 3a415c6392bc_add_buildroot_pkgs_c_py
[hide private]
[frames] | no frames]

Source Code for Script script-3a415c6392bc_add_buildroot_pkgs_c_py

 1  """add buildroot_pkgs column 
 2   
 3  Revision ID: 3a415c6392bc 
 4  Revises: 52e53e7b413e 
 5  Create Date: 2013-11-28 15:46:24.860025 
 6   
 7  """ 
 8   
 9  # revision identifiers, used by Alembic. 
10  revision = '3a415c6392bc' 
11  down_revision = '52e53e7b413e' 
12   
13  from alembic import op 
14  import sqlalchemy as sa 
15   
16   
17 -def upgrade():
18 op.add_column('copr_chroot', sa.Column('buildroot_pkgs', sa.Text(), nullable=True))
19 20
21 -def downgrade():
22 op.drop_column('copr_chroot', 'buildroot_pkgs')
23