
# revision identifiers, used by Alembic.
revision = '360_add_pass_fail_returned'
down_revision = '340'

from alembic import op
import sqlalchemy as sa


def upgrade():

    op.add_column('supplier_frameworks', sa.Column('agreement_returned', sa.Boolean(), nullable=True))
    op.add_column('supplier_frameworks', sa.Column('on_framework', sa.Boolean(), nullable=True))


def downgrade():

    op.drop_column('supplier_frameworks', 'on_framework')
    op.drop_column('supplier_frameworks', 'agreement_returned')


# revision identifiers, used by Alembic.
revision = '360_add_pass_fail_returned'
down_revision = '350_migrate_interested_suppliers'

from alembic import op
import sqlalchemy as sa


def upgrade():

    op.add_column('supplier_frameworks', sa.Column('agreement_returned', sa.Boolean(), nullable=True))
    op.add_column('supplier_frameworks', sa.Column('on_framework', sa.Boolean(), nullable=True))


def downgrade():

    op.drop_column('supplier_frameworks', 'on_framework')
    op.drop_column('supplier_frameworks', 'agreement_returned')

Update migration sequence after rebase
Update migration sequence after rebase

  
  # revision identifiers, used by Alembic.
  revision = '360_add_pass_fail_returned'
- down_revision = '340'
+ down_revision = '350_migrate_interested_suppliers'
  
  from alembic import op
  import sqlalchemy as sa
  
  
  def upgrade():
  
      op.add_column('supplier_frameworks', sa.Column('agreement_returned', sa.Boolean(), nullable=True))
      op.add_column('supplier_frameworks', sa.Column('on_framework', sa.Boolean(), nullable=True))
  
  
  def downgrade():
  
      op.drop_column('supplier_frameworks', 'on_framework')
      op.drop_column('supplier_frameworks', 'agreement_returned')
  
Update migration sequence after rebase
## Code Before:

# revision identifiers, used by Alembic.
revision = '360_add_pass_fail_returned'
down_revision = '340'

from alembic import op
import sqlalchemy as sa


def upgrade():

    op.add_column('supplier_frameworks', sa.Column('agreement_returned', sa.Boolean(), nullable=True))
    op.add_column('supplier_frameworks', sa.Column('on_framework', sa.Boolean(), nullable=True))


def downgrade():

    op.drop_column('supplier_frameworks', 'on_framework')
    op.drop_column('supplier_frameworks', 'agreement_returned')

## Instruction:
Update migration sequence after rebase
## Code After:

# revision identifiers, used by Alembic.
revision = '360_add_pass_fail_returned'
down_revision = '350_migrate_interested_suppliers'

from alembic import op
import sqlalchemy as sa


def upgrade():

    op.add_column('supplier_frameworks', sa.Column('agreement_returned', sa.Boolean(), nullable=True))
    op.add_column('supplier_frameworks', sa.Column('on_framework', sa.Boolean(), nullable=True))


def downgrade():

    op.drop_column('supplier_frameworks', 'on_framework')
    op.drop_column('supplier_frameworks', 'agreement_returned')
