MySql数据库设计表添加字段

当要添加的字段属于整型,需要设置默认值

或者:

alter table fp_user_base add hasPwd tinyint(4) not null default 0;

原文地址:https://www.cnblogs.com/lxcmyf/p/8867549.html