nopaque/web/migrations/versions/ecaf75fece7b_.py

29 lines
673 B
Python
Raw Normal View History

"""empty message
Revision ID: ecaf75fece7b
Revises: c3827cddea6e
Create Date: 2020-10-16 13:31:30.681269
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ecaf75fece7b'
down_revision = 'c3827cddea6e'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('corpora', sa.Column('archive_dir', sa.String(length=255), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('corpora', 'archive_dir')
# ### end Alembic commands ###