PHP后端
修改数据库结构
标签:

添加字段

alter table `表名` add column `字段名` int(11) not null default 0 comment '备注';


修改字段

alter table `表名` change column `老字段名` `新字段名` varchar(255) not null default '' comment '备注';


修改表引擎--改为innodb类型

alter table `表名` engine = INNODB;

 
首页| linux系统和软件使用| PHP后端| 前端技术| 生活杂记| 小程序| 软件和工具使用| 框架使用| 自制网站|