Can’t create table ‘yggl.bonus’ (errno: 150) 1.字段类型和大小不匹配 错误截图及原因: 正确截图及注释: 2.引用的其中一个外键没有建立起索引,或者没有主键(primary key)。