mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 11:24:18 +00:00
31 lines
822 B
Python
31 lines
822 B
Python
"""empty message
|
|
|
|
Revision ID: 33ec4d09b4ca
|
|
Revises: 4cf5e5606a83
|
|
Create Date: 2020-07-13 09:07:19.297185
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '33ec4d09b4ca'
|
|
down_revision = '4cf5e5606a83'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('query_results', sa.Column('description', sa.String(length=255), nullable=True))
|
|
op.add_column('query_results', sa.Column('title', sa.String(length=32), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('query_results', 'title')
|
|
op.drop_column('query_results', 'description')
|
|
# ### end Alembic commands ###
|