提交 089bb206 编写于 作者: T tristaZero

modify configWithoutDataSourceWithoutProps.yaml

上级 b877ab23
......@@ -12,8 +12,9 @@ shardingRule:
inline:
shardingColumn: order_id
algorithmExpression: t_order_${order_id % 2}
keyGeneratorColumnName: order_id
keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator
keyGenerator:
keyGeneratorColumnName: order_id
keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator
t_order_item:
actualDataNodes: db${0..1}.t_order_item_${0..1}
......
......@@ -13,8 +13,9 @@ shardingRule:
inline:
shardingColumn: order_id
algorithmExpression: t_order_${order_id % 2}
keyGeneratorColumnName: order_id
keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator
keyGenerator:
keyGeneratorColumnName: order_id
keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator
t_order_item:
actualDataNodes: db_ms_${0..1}.t_order_item_${0..1}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册