# Code generated by github.com/lolopinto/ent/ent, DO NOT edit.

"""add unique constraint uniqueCode

Revision ID: 7d18d14131dc
Revises: <PASSWORD>
Create Date: 2020-12-08 04:55:51.455514+00:00

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql


# revision identifiers, used by Alembic.
revision = '7d18d14131dc'
down_revision = 'e<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint('uniqueCode', 'auth_codes', [
                                'email_address', 'code'])
    # ### end Alembic commands ###


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

# Code generated by github.com/lolopinto/ent/ent, DO NOT edit.

"""add unique constraint uniqueCode

Revision ID: 7d18d14131dc
Revises: <PASSWORD>
Create Date: 2020-12-08 04:55:51.455514+00:00

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql


# revision identifiers, used by Alembic.
revision = '7d18d14131dc'
down_revision = 'e<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint('uniqueCode', 'auth_codes', [
                                'email_address', 'code'])
    # ### end Alembic commands ###


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

# Code generated by github.com/lolopinto/ent/ent, DO NOT edit. add unique constraint uniqueCode  Revision ID: 7d18d14131dc Revises: <PASSWORD> Create Date: 2020-12-08 04:55:51.455514+00:00 # 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 ###