text: """upload table
  
  Revision ID: 1707dcdda0b9
  Revises: 
  Create Date: 2022-02-16 15:35:42.113700
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '1707dcdda0b9'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('upload',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('filename', sa.String(length=200), nullable=True),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_index(op.f('ix_upload_filename'), 'upload', ['filename'], unique=False)
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_index(op.f('ix_upload_filename'), table_name='upload')
      op.drop_table('upload')
      # ### end Alembic commands ###
  