feat: 主键自增改雪花 ID(为分库分表预留)
- 52 个 entity 主键 @TableId 由 IdType.AUTO 改为 IdType.ASSIGN_ID(雪花) - 双服务 application.yml 的 mybatis-plus id-type 由 auto 改为 assign_id - schema 脚本主键去掉 GENERATED BY DEFAULT AS IDENTITY
This commit is contained in:
1 parent
5f9483a86c
commit
bbf46b3445
57 files changed
+115
-115
No files matched your search
@@ -28,7 +28,7 @@ mybatis-plus:
|
||||
global-config:
|
||||
banner: false
|
||||
db-config:
|
||||
id-type: auto
|
||||
id-type: assign_id
|
||||
logic-delete-field: deleted
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
|
||||
Reference in new issue
Block a user