text: """Removing the relationship between categories table and pitches table
  
  Revision ID: 1524932cf99d
  Revises: 38f0d9dad316
  Create Date: 2018-05-19 22:37:28.844789
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '1524932cf99d'
  down_revision = '38f0d9dad316'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_constraint('pitches_category_id_fkey', 'pitches', type_='foreignkey')
      op.drop_column('pitches', 'category_id')
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.add_column('pitches', sa.Column('category_id', sa.INTEGER(), autoincrement=False, nullable=True))
      op.create_foreign_key('pitches_category_id_fkey', 'pitches', 'categories', ['category_id'], ['id'])
      # ### end Alembic commands ###
  