97d0cf5e4bb0_fix_deep_exploration.py 477 B

123456789101112131415161718192021222324
  1. """fix_deep_exploration
  2. Revision ID: 97d0cf5e4bb0
  3. Revises: 75b3282b1d3f
  4. Create Date: 2020-02-11 00:02:01.244499
  5. """
  6. from alembic import op
  7. import sqlalchemy as sa
  8. # revision identifiers, used by Alembic.
  9. revision = '97d0cf5e4bb0'
  10. down_revision = '75b3282b1d3f'
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. op.add_column('deep_exploration', sa.Column('points', sa.Integer(), nullable=True))
  15. def downgrade():
  16. op.drop_column('deep_exploration', 'points')