build: 构建生产环境配置
This commit is contained in:
1 parent
af1237e2d7
commit
81c1514a21
13 files changed
+26
-119
No files matched your search
@@ -34,7 +34,7 @@ rules:
|
||||
tableStrategy:
|
||||
standard:
|
||||
# 分片列名称
|
||||
shardingColumn: chapter_id
|
||||
shardingColumn: index_id
|
||||
# 分片算法名称
|
||||
shardingAlgorithmName: bookContentSharding
|
||||
|
||||
@@ -44,7 +44,7 @@ rules:
|
||||
type: INLINE
|
||||
props:
|
||||
# 分片算法的行表达式
|
||||
algorithm-expression: book_content${chapter_id % 10}
|
||||
algorithm-expression: book_content${index_id % 10}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user