Convert exchange-name to new format

This commit is contained in:
Matthias Voppichler 2018-05-12 13:39:16 +02:00
parent 40c581e5a8
commit e3ae1c6c2f

View File

@ -82,7 +82,7 @@ def check_migrate(engine) -> None:
(id, exchange, pair, is_open, fee_open, fee_close, open_rate,
open_rate_requested, close_rate, close_rate_requested, close_profit,
stake_amount, amount, open_date, close_date, open_order_id)
select id, exchange,
select id, lower(exchange),
case
when instr(pair, '_') != 0 then
substr(pair, instr(pair, '_') + 1) || '/' ||