mysql 修改id为自增:
alter table 表名 modify column 列名 类型 not null auto_increment ;
例: alter table class modify column id int(100) not null auto_increment;
mysql 把id自增去掉:
alter table 表名 modify column 列名 类型 not null ;
例:alter table class modify column id int(100) not null;