Skip to content
Snippets Groups Projects
Commit 6164c3e7 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add migration script message and formatting

parent 622d9915
No related branches found
No related tags found
No related merge requests found
"""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 ...@@ -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 ###
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment