mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 19:34:19 +00:00
31 lines
835 B
Python
31 lines
835 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: befe5326787e
|
||
|
Revises: ecaf75fece7b
|
||
|
Create Date: 2020-10-16 13:32:09.620960
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = 'befe5326787e'
|
||
|
down_revision = 'ecaf75fece7b'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('corpora', sa.Column('archive_file', sa.String(length=255), nullable=True))
|
||
|
op.drop_column('corpora', 'archive_dir')
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('corpora', sa.Column('archive_dir', sa.VARCHAR(length=255), autoincrement=False, nullable=True))
|
||
|
op.drop_column('corpora', 'archive_file')
|
||
|
# ### end Alembic commands ###
|