-- Revert gaia:2016_08_01_alter_person from mysql

BEGIN;

ALTER TABLE `api_person` DROP FOREIGN KEY `fk_api_area_ref_api_person`;
ALTER TABLE `api_person` DROP COLUMN `area_id`;
ALTER TABLE `api_person` DROP INDEX `email`;
ALTER TABLE `api_person` DROP COLUMN `email`;

COMMIT;
