text: """empty message
  
  Revision ID: a6815f1ca516
  Revises: c3c4fc4e3b8e
  Create Date: 2021-06-14 19:34:22.584618
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  # revision identifiers, used by Alembic.
  revision = 'a6815f1ca516'
  down_revision = 'c3c4fc4e3b8e'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('follows',
                      sa.Column('follower_id', sa.Integer(), nullable=False),
                      sa.Column('followed_id', sa.Integer(), nullable=False),
                      sa.Column('timestamp', sa.DateTime(), nullable=True),
                      sa.ForeignKeyConstraint(['followed_id'], ['users.id'], ),
                      sa.ForeignKeyConstraint(['follower_id'], ['users.id'], ),
                      sa.PrimaryKeyConstraint('follower_id', 'followed_id')
                      )
      op.drop_table('follow')
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('follow',
                      sa.Column('follower_id', sa.INTEGER(), nullable=False),
                      sa.Column('followed_id', sa.INTEGER(), nullable=False),
                      sa.Column('timestamp', sa.DATETIME(), nullable=True),
                      sa.ForeignKeyConstraint(['followed_id'], ['users.id'], ),
                      sa.ForeignKeyConstraint(['follower_id'], ['users.id'], ),
                      sa.PrimaryKeyConstraint('follower_id', 'followed_id')
                      )
      op.drop_table('follows')
      # ### end Alembic commands ###
  