MySQL中添加、修改、删除约束 https://blog.csdn.net/dz77dz/article/details/82119000 主要包含的约束: 非空、唯一、check、not null、默认值、主键、外键