-- Deploy gaia:specialexterior_special_id_can_be_null to mysql

BEGIN;

-- XXX Add DDLs here.
ALTER TABLE `api_specialexterior`
DROP FOREIGN KEY `special_id_refs_id_44b2fbb0`;
ALTER TABLE `api_specialexterior`
CHANGE COLUMN `special_id` `special_id` INT(11) NULL ;
ALTER TABLE `api_specialexterior`
ADD CONSTRAINT `special_id_refs_id_44b2fbb0`
  FOREIGN KEY (`special_id`)
  REFERENCES `api_special` (`id`)
  ON DELETE NO ACTION
  ON UPDATE NO ACTION;

COMMIT;
