参考资料:https://blog.csdn.net/ytm15732625529/article/details/53729155 外键理解:https://www.cnblogs.com/bhlsheji/p/5332910.html
填个坑,回来写总结
Navicat For MySQL--外键建立与cannot add foreign key constraint分析
原文:https://www.cnblogs.com/liaoguanwang/p/9678568.html