mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-16 01:35:41 +00:00
29 lines
679 B
Python
29 lines
679 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 389bcf564726
|
||
|
Revises: 318074622d14
|
||
|
Create Date: 2020-06-30 14:03:33.384379
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '389bcf564726'
|
||
|
down_revision = '318074622d14'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('result_files', sa.Column('corpus_metadata', sa.JSON(), nullable=True))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('result_files', 'corpus_metadata')
|
||
|
# ### end Alembic commands ###
|