删除外键: alter table `itrip_shop` drop FOREIGN KEY `FK_ayixnihiit0pouq70l8ig0ax9`; 删除唯一键:alter table `itrip_shop` drop index `UK_ayixnihiit0pouq70l8ig0ax9`; 添加外键约束(复杂选项版):alter table `itrip_shop` ADD CONSTRAINT `FK_ayixnihiit0pouq70l8ig0ax9` FOREIGN KEY `FK_ayixnihiit0pouq70l8ig0ax9` (`shop_admin`) REFERENCES `itrip_user` (`user_id`);