text: """empty message
  
  Revision ID: 989dbc01a9b0
  Revises: 
  Create Date: 2021-06-10 18:44:13.461716
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '989dbc01a9b0'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('admin',
      sa.Column('name', sa.String(length=255), nullable=False),
      sa.Column('email', sa.String(length=255), nullable=False),
      sa.Column('password_hash', sa.String(length=255), nullable=False),
      sa.Column('verified', sa.Boolean(), nullable=True),
      sa.Column('created_on', sa.DateTime(), nullable=True),
      sa.Column('updated_on', sa.DateTime(), nullable=True),
      sa.Column('public_id', sa.String(length=255), nullable=False),
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('role', sa.String(length=255), nullable=True),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('email'),
      sa.UniqueConstraint('id')
      )
      op.create_table('extractor',
      sa.Column('name', sa.String(length=255), nullable=False),
      sa.Column('email', sa.String(length=255), nullable=False),
      sa.Column('password_hash', sa.String(length=255), nullable=False),
      sa.Column('verified', sa.Boolean(), nullable=True),
      sa.Column('created_on', sa.DateTime(), nullable=True),
      sa.Column('updated_on', sa.DateTime(), nullable=True),
      sa.Column('public_id', sa.String(length=255), nullable=False),
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('role', sa.String(length=255), nullable=True),
      sa.Column('admin_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['admin_id'], ['admin.id'], ),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('email'),
      sa.UniqueConstraint('id')
      )
      op.create_table('management',
      sa.Column('name', sa.String(length=255), nullable=False),
      sa.Column('email', sa.String(length=255), nullable=False),
      sa.Column('password_hash', sa.String(length=255), nullable=False),
      sa.Column('verified', sa.Boolean(), nullable=True),
      sa.Column('created_on', sa.DateTime(), nullable=True),
      sa.Column('updated_on', sa.DateTime(), nullable=True),
      sa.Column('public_id', sa.String(length=255), nullable=False),
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('role', sa.String(length=255), nullable=True),
      sa.Column('admin_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['admin_id'], ['admin.id'], ),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('email'),
      sa.UniqueConstraint('id')
      )
      op.create_table('case',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('case_name', sa.String(length=100), nullable=True),
      sa.Column('data_size', sa.String(length=100), nullable=True),
      sa.Column('extracted_on', sa.DateTime(), nullable=True),
      sa.Column('extractor_id', sa.Integer(), nullable=True),
      sa.Column('data_path', sa.String(length=100), nullable=True),
      sa.ForeignKeyConstraint(['extractor_id'], ['extractor.id'], ),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('case_name')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('case')
      op.drop_table('management')
      op.drop_table('extractor')
      op.drop_table('admin')
      # ### end Alembic commands ###
  