"""empty message Revision ID: 68ed092ffe5e Revises: be010d5d708d Create Date: 2021-11-24 15:33:16.258600 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '68ed092ffe5e' down_revision = 'be010d5d708d' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('corpus_files', sa.Column('creation_date', sa.DateTime(), nullable=True)) op.add_column('corpus_files', sa.Column('last_edited_date', sa.DateTime(), nullable=True)) op.add_column('corpus_files', sa.Column('mimetype', sa.String(length=255), nullable=True)) op.add_column('job_inputs', sa.Column('creation_date', sa.DateTime(), nullable=True)) op.add_column('job_inputs', sa.Column('last_edited_date', sa.DateTime(), nullable=True)) op.add_column('job_inputs', sa.Column('mimetype', sa.String(length=255), nullable=True)) op.add_column('job_results', sa.Column('creation_date', sa.DateTime(), nullable=True)) op.add_column('job_results', sa.Column('last_edited_date', sa.DateTime(), nullable=True)) op.add_column('job_results', sa.Column('mimetype', sa.String(length=255), nullable=True)) op.add_column('query_results', sa.Column('creation_date', sa.DateTime(), nullable=True)) op.add_column('query_results', sa.Column('last_edited_date', sa.DateTime(), nullable=True)) op.add_column('query_results', sa.Column('mimetype', sa.String(length=255), nullable=True)) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('query_results', 'mimetype') op.drop_column('query_results', 'last_edited_date') op.drop_column('query_results', 'creation_date') op.drop_column('job_results', 'mimetype') op.drop_column('job_results', 'last_edited_date') op.drop_column('job_results', 'creation_date') op.drop_column('job_inputs', 'mimetype') op.drop_column('job_inputs', 'last_edited_date') op.drop_column('job_inputs', 'creation_date') op.drop_column('corpus_files', 'mimetype') op.drop_column('corpus_files', 'last_edited_date') op.drop_column('corpus_files', 'creation_date') # ### end Alembic commands ###