表字段联合唯一

ALTER TABLE `base_region`
ADD UNIQUE u_name_type (`region_name`,`region_type`);
原文地址:https://www.cnblogs.com/tabCtrlShift/p/9149819.html