# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: dan@reciprocitylabs.com
# Maintained By: dan@reciprocitylabs.com

"""Person.email must be unique

Revision ID: 2bf7c04016c9
Revises: d3af6d071ef
Create Date: 2013-07-24 02:16:06.282258

"""

# revision identifiers, used by Alembic.
revision = '2bf7c04016c9'
down_revision = 'd3af6d071ef'

from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

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


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

c769a4ebfeb6f85f851abd2d06c87f6d71b65320
<mask token>


def upgrade():
    op.create_unique_constraint('uq_people_email', 'people', ['email'])


<mask token>

<mask token>


def upgrade():
    op.create_unique_constraint('uq_people_email', 'people', ['email'])


def downgrade():
    op.drop_constraint('uq_people_email', 'people', type_='unique')

<mask token>
revision = '2bf7c04016c9'
down_revision = 'd3af6d071ef'
<mask token>


def upgrade():
    op.create_unique_constraint('uq_people_email', 'people', ['email'])


def downgrade():
    op.drop_constraint('uq_people_email', 'people', type_='unique')

<mask token>
revision = '2bf7c04016c9'
down_revision = 'd3af6d071ef'
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql


def upgrade():
    op.create_unique_constraint('uq_people_email', 'people', ['email'])


def downgrade():
    op.drop_constraint('uq_people_email', 'people', type_='unique')

# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: dan@reciprocitylabs.com
# Maintained By: dan@reciprocitylabs.com

"""Person.email must be unique

Revision ID: 2bf7c04016c9
Revises: d3af6d071ef
Create Date: 2013-07-24 02:16:06.282258

"""

# revision identifiers, used by Alembic.
revision = '2bf7c04016c9'
down_revision = 'd3af6d071ef'

from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

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


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