Script 10029c92dd0d_add_with_without_columns_for_copr_chroot_py
|
|
1 """add with/without columns for copr chroot
2
3 Revision ID: 10029c92dd0d
4 Revises: 24e9054d4155
5 Create Date: 2018-05-18 18:21:53.850207
6
7 """
8
9
10 revision = '10029c92dd0d'
11 down_revision = '24e9054d4155'
12
13 from alembic import op
14 import sqlalchemy as sa
15
16
18 op.add_column('copr_chroot', sa.Column('with_opts', sa.Text(), nullable=False, server_default=''))
19 op.add_column('copr_chroot', sa.Column('without_opts', sa.Text(), nullable=False, server_default=''))
20
21
23 op.drop_column('copr_chroot', 'with_opts')
24 op.drop_column('copr_chroot', 'without_opts')
25