mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Add corpus analysis stuff
This commit is contained in:
28
migrations/versions/0aa38a7973c5_.py
Normal file
28
migrations/versions/0aa38a7973c5_.py
Normal file
@ -0,0 +1,28 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 0aa38a7973c5
|
||||
Revises: 1210adfe1e34
|
||||
Create Date: 2019-11-06 09:33:46.296653
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0aa38a7973c5'
|
||||
down_revision = '1210adfe1e34'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('corpora', sa.Column('analysis_ip', sa.String(length=16), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('corpora', 'analysis_ip')
|
||||
# ### end Alembic commands ###
|
Reference in New Issue
Block a user