mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Add migration script message and formatting
This commit is contained in:
parent
622d99155e
commit
6164c3e7d9
@ -1,4 +1,4 @@
|
|||||||
"""empty message
|
"""Add pipeline_name column to spacy_nlp_pipeline_models table
|
||||||
|
|
||||||
Revision ID: 721829b5dd25
|
Revision ID: 721829b5dd25
|
||||||
Revises: 31dd42e5ea6f
|
Revises: 31dd42e5ea6f
|
||||||
@ -17,12 +17,11 @@ depends_on = None
|
|||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
op.add_column(
|
||||||
op.add_column('spacy_nlp_pipeline_models', sa.Column('pipeline_name', sa.String(length=64), nullable=True))
|
'spacy_nlp_pipeline_models',
|
||||||
# ### end Alembic commands ###
|
sa.Column('pipeline_name', sa.String(length=64), nullable=True)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
|
||||||
op.drop_column('spacy_nlp_pipeline_models', 'pipeline_name')
|
op.drop_column('spacy_nlp_pipeline_models', 'pipeline_name')
|
||||||
# ### end Alembic commands ###
|
|
||||||
|
Loading…
Reference in New Issue
Block a user