"""Add index to Obj.redshift column

Revision ID: d8a478c3d94c
Revises: 31d3251df20b
Create Date: 2021-05-13 08:42:28.633401

"""
from alembic import op


# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index(op.f('ix_objs_redshift'), 'objs', ['redshift'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_objs_redshift'), table_name='objs')
    # ### end Alembic commands ###

"""Add index to Obj.redshift column

Revision ID: d8a478c3d94c
Revises: 31d3251df20b
Create Date: 2021-05-13 08:42:28.633401

"""
from alembic import op


# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index(op.f('ix_objs_redshift'), 'objs', ['redshift'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_objs_redshift'), table_name='objs')
    # ### end Alembic commands ###

Add index to Obj.redshift column  Revision ID: d8a478c3d94c Revises: 31d3251df20b Create Date: 2021-05-13 08:42:28.633401 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###