mysql 字段修改汇总

--  增加

ALTER TABLE `gdm_nursing_patient` ADD COLUMN `due_date` date DEFAULT NULL COMMENT '名称' AFTER `busi_no`;

-- 删除

alter table gdm_nursing_patient drop column breakfast,drop column morning_extra,drop column lunch,drop column afternoon_extra,drop column dinner,drop column evening_extra;

-- 修改

alter table user MODIFY field VARCHAR(10); 

原文地址:https://www.cnblogs.com/javabg/p/11692974.html