nopaque/web/migrations/versions/1210adfe1e34_.py
2020-06-05 14:42:04 +02:00

29 lines
662 B
Python

"""empty message
Revision ID: 1210adfe1e34
Revises: abf60427ff84
Create Date: 2019-11-04 12:54:39.389263
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1210adfe1e34'
down_revision = 'abf60427ff84'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('corpora', sa.Column('status', sa.String(length=16), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('corpora', 'status')
# ### end Alembic commands ###