mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
29 lines
695 B
Python
29 lines
695 B
Python
"""empty message
|
|
|
|
Revision ID: 8b2e0d43384a
|
|
Revises: 790ce9512e75
|
|
Create Date: 2021-01-25 11:18:45.256537
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '8b2e0d43384a'
|
|
down_revision = '790ce9512e75'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('corpora', 'max_nr_of_tokens')
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('corpora', sa.Column('max_nr_of_tokens', sa.INTEGER(), autoincrement=False, nullable=True))
|
|
# ### end Alembic commands ###
|