text: """followers
  
  Revision ID: bb27fb1e062d
  Revises: 5ed8c0b42a43
  Create Date: 2018-09-17 21:51:04.421481
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'bb27fb1e062d'
  down_revision = '5ed8c0b42a43'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('followers',
      sa.Column('follower_id', sa.Integer(), nullable=True),
      sa.Column('followed_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['followed_id'], ['user.id'], ),
      sa.ForeignKeyConstraint(['follower_id'], ['user.id'], )
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('followers')
      # ### end Alembic commands ###
  