<filename>migrations/versions/0dad6c8372e4_index_email.py<gh_stars>10-100
"""index email

Revision ID: 0dad<PASSWORD>
Revises: <KEY>
Create Date: 2018-08-20 10:11:58.474348

"""
from alembic import op
import sqlalchemy as sa
import geoalchemy2


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


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


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

<filename>migrations/versions/0dad6c8372e4_index_email.py<gh_stars>10-100
"""index email

Revision ID: 0dad<PASSWORD>
Revises: <KEY>
Create Date: 2018-08-20 10:11:58.474348

"""
from alembic import op
import sqlalchemy as sa
import geoalchemy2


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


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


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

index email  Revision ID: 0dad<PASSWORD> Revises: <KEY> Create Date: 2018-08-20 10:11:58.474348 # 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 ###