使用sql语句修改字段名。
alter table 表名 change 旧字段名 新字段名 新数据类型;
将a表id字段名改为id1
a
id
id1
alter table a change id id1 int(12) NOT NULL;