入门客AI创业平台(我带你入门,你带我飞行)
博文笔记

mysql 追加update_time、create_time、id三字段

创建时间:2017-11-26 投稿人: 浏览次数:491
alter table tbl_books modify create_time datetime  not null default current_timestamp
alter table tableName add update_time datetime not null default current_timestamp on update current_timestamp
alter table tbl_books modify id bigint auto_increment
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
  • 上一篇:没有了
  • 下一篇:没有了
未上传头像