<gh_stars>1-10
"""email field should be unique

Revision ID: 310f03145878
Revises: <KEY>
Create Date: 2020-02-03 20:10:36.723105

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint(None, 'finbot_user_accounts', ['email'])
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'finbot_user_accounts', type_='unique')
    # ### end Alembic commands ###

"""email field should be unique

Revision ID: 310f03145878
Revises: <KEY>
Create Date: 2020-02-03 20:10:36.723105

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint(None, 'finbot_user_accounts', ['email'])
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'finbot_user_accounts', type_='unique')
    # ### end Alembic commands ###
email field should be unique  Revision ID: 310f03145878 Revises: <KEY> Create Date: 2020-02-03 20:10:36.723105 # 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 ###