SpringBlade 为导入的表添加自增长属性

Posted guxingy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBlade 为导入的表添加自增长属性相关的知识,希望对你有一定的参考价值。

ALTER TABLE blade_client CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_code CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_datasource CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_dept CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_dict CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_log_api CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_log_error CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_log_usual CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_menu CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_notice CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_param CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_post CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_role CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_role_menu CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_tenant CHANGE id id BIGINT auto_increment not null;
ALTER TABLE blade_user CHANGE id id BIGINT auto_increment not null;

以上是关于SpringBlade 为导入的表添加自增长属性的主要内容,如果未能解决你的问题,请参考以下文章

Oracle添加自增长字段方法步骤

数据库表ID怎么设置自动增长

InnoDB的主键自增长实现原理

InnoDB的主键自增长实现原理

sql自增长跳号,怎么办?

数据库表ID怎么设置自动增长