Skip to content

Commit 96c7bfe

Browse files
Add market.yml data to the seed file
1 parent f8a3393 commit 96c7bfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: db/seeds.rb

+4
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
bar_member.tag_list.add 'hero'
2828
bar_member.save
2929
end
30+
31+
Market.create(id: "btccny", ask_unit: "btc", bid_unit: "cny", ask_fee: 0, bid_fee: 0, ask_precision: 4, bid_precision: 2, position: 1, visible: true)
32+
Market.create(id: "ethcny", ask_unit: "eth", bid_unit: "cny", ask_fee: 0, bid_fee: 0, ask_precision: 4, bid_precision: 2, position: 1, visible: true)
33+
Market.create(id: "ethbtc", ask_unit: "eth", bid_unit: "btc", ask_fee: 0, bid_fee: 0, ask_precision: 4, bid_precision: 4, position: 1, visible: true)

0 commit comments

Comments
 (0)