contentdb/migrations/versions/fa12fadbdb40_.py

29 lines
704 B
Python
Raw Normal View History

2018-05-25 19:57:30 +02:00
"""empty message
Revision ID: fa12fadbdb40
Revises: c4152f4240ed
Create Date: 2018-05-25 18:46:54.039870
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'fa12fadbdb40'
down_revision = 'c4152f4240ed'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
2018-05-25 20:07:27 +02:00
op.add_column('package_screenshot', sa.Column('approved', sa.Boolean(), nullable=False, server_default="true"))
2018-05-25 19:57:30 +02:00
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('package_screenshot', 'approved')
# ### end Alembic commands ###