Skip to content

Commit

Permalink
add yaml comment trail
Browse files Browse the repository at this point in the history
  • Loading branch information
hanahmily committed Mar 28, 2016
1 parent ab9fb5a commit 23fb5ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ tables:

t_order_item:
actualTables: t_order_item_${0..1}
#绑定表中其余的表的策略与第一张表的策略相同
#绑定表中其余的表的策略与第一张表的策略相同.
databaseStrategy: *db001
tableStrategy: *table001

bindingTables:
- tableNames: t_order,t_order_item
#默认数据库分片策略
#默认数据库分片策略.
defaultDatabaseStrategy:
shardingColumns: order_id, user_id
algorithmExpression: table_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ tables:

t_order_item:
actualTables: t_order_item_${0..1}
#绑定表中其余的表的策略与第一张表的策略相同
#绑定表中其余的表的策略与第一张表的策略相同.
databaseStrategy: *db001
tableStrategy: *table001


bindingTables:
- tableNames: t_order,t_order_item
#默认数据库分片策略
#默认数据库分片策略.
defaultDatabaseStrategy:
shardingColumns: order_id, user_id
algorithmExpression: table_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ tables:

t_order_item:
actualTables: t_order_item_${0..1}
#绑定表中其余的表的策略与第一张表的策略相同
#绑定表中其余的表的策略与第一张表的策略相同.
databaseStrategy: *db001
tableStrategy: *table001


bindingTables:
- tableNames: t_order,t_order_item
#默认数据库分片策略
#默认数据库分片策略.
defaultDatabaseStrategy:
shardingColumns: order_id, user_id
algorithmExpression: table_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ tables:

t_order_item:
actualTables: t_order_item_${0..1}
#绑定表中其余的表的策略与第一张表的策略相同
#绑定表中其余的表的策略与第一张表的策略相同.
databaseStrategy: *db001
tableStrategy: *table001


bindingTables:
- tableNames: t_order,t_order_item
#默认数据库分片策略
#默认数据库分片策略.
defaultDatabaseStrategy:
shardingColumns: order_id, user_id
algorithmExpression: table_test
Expand Down

0 comments on commit 23fb5ba

Please sign in to comment.