提交 9da95428 编写于 作者: T tristaZero

modify yaml

上级 37719880
......@@ -24,5 +24,5 @@ shardingRule:
algorithmExpression: t_order_${order_id % 2}
keyGenerator:
column: order_id
className: io.shardingsphere.core.keygen.DefaultKeyGenerator
className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator
logicIndex: order_index
......@@ -27,7 +27,7 @@ shardingRule:
algorithmClassName: io.shardingsphere.api.algorithm.fixture.TestComplexKeysShardingAlgorithm
keyGenerator:
column: item_id
className: io.shardingsphere.core.keygen.DefaultKeyGenerator
className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator
t_place:
actualDataNodes: db${0..1}.t_place
tableStrategy:
......
......@@ -63,7 +63,7 @@ shardingRule:
algorithmExpression: t_order_${order_id % 2}
keyGenerator:
column: order_id
className: io.shardingsphere.core.keygen.DefaultKeyGenerator
className: io.shardingsphere.core.keygen.SnowflakeKeyGenerator
logicIndex: order_index
t_order_item:
actualDataNodes: ds_${0..1}.t_order_item_${0..1}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册