提交 618f7f26 编写于 作者: T terrymanu

update Indent for yaml

上级 fe6edd8a
......@@ -10,11 +10,11 @@ dataSources:
username: root
password:
shardingRule:
shardingRule:
tables:
t_order:
t_order:
actualDataNodes: demo_ds_${0..1}.t_order_${0..1}
tableStrategy:
tableStrategy:
inline:
shardingColumn: order_id
algorithmExpression: t_order_${order_id % 2}
......@@ -26,7 +26,7 @@ shardingRule:
inline:
shardingColumn: order_id
algorithmExpression: t_order_item_${order_id % 2}
bindingTables:
- t_order,t_order_item
......@@ -35,10 +35,10 @@ shardingRule:
inline:
shardingColumn: user_id
algorithmExpression: demo_ds_${user_id % 2}
defaultTableStrategy:
none:
defaultKeyGeneratorClass: io.shardingjdbc.core.keygen.DefaultKeyGenerator
props:
sql.show: true
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册