"""Deleted json filed Revision ID: af22ea98e0da Revises: 31cd88d78cb4 Create Date: 2024-01-22 02:14:59.504400 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'af22ea98e0da' down_revision = '31cd88d78cb4' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('task', sa.Column('id', sa.Integer(), nullable=False), sa.Column('task_id', sa.String(), nullable=True), sa.Column('name', sa.String(), nullable=False), sa.Column('session_id', sa.Integer(), nullable=True), sa.Column('status', sa.String(), nullable=False), sa.Column('status_message', sa.String(), nullable=False), sa.Column('type', sa.String(), nullable=False), sa.Column('url', sa.String(), nullable=True), sa.Column('message', sa.String(), nullable=True), sa.Column('file', sa.String(), nullable=True), sa.ForeignKeyConstraint(['session_id'], ['session.id'], ), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('task') # ### end Alembic commands ###