"""empty message Revision ID: abf60427ff84 Revises: da9fd175af8c Create Date: 2019-10-28 14:43:39.691313 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'abf60427ff84' down_revision = 'da9fd175af8c' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('corpus_files', sa.Column('author', sa.String(length=64), nullable=True)) op.add_column('corpus_files', sa.Column('publishing_year', sa.Integer(), nullable=True)) op.add_column('corpus_files', sa.Column('title', sa.String(length=64), nullable=True)) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('corpus_files', 'title') op.drop_column('corpus_files', 'publishing_year') op.drop_column('corpus_files', 'author') # ### end Alembic commands ###