1.删除字段 alter table menu drop id; 2.添加字段 alter table menu add id int auto_increment primary key NOT NULL;