alter table account add unique(phone);追加唯一约束
alter table account change shpone phone varchar(50) not null;改字段名
alter table details modify column imgmax varchar(50);改字段大小
alter table details add foreign key(proImgId) references proimg(id);追加外键
alter table cart add goodsId int not null;追加字段