CREATE TABLE `vn`.`roadmapAddress` ( addressFk int(11) NULL, isActive TINYINT DEFAULT 1 NULL, PRIMARY KEY (addressFk) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci COMMENT='Direcciones de los troncales'; ALTER TABLE vn.roadmapAddress ADD CONSTRAINT roadmapAddress_address_FK FOREIGN KEY (addressFk) REFERENCES vn.address(id) ON DELETE RESTRICT ON UPDATE CASCADE;