版权声明:本博客为记录本人学习过程而开,内容大多从网上学习与整理所得,若侵权请告知! https://blog.csdn.net/Fly_as_tadpole/article/details/84502430
alter table product_category add unique key unique_category_type (category_type);
alter table product_category add unique key unique_category_type (category_type);