Try fix migration tests
This commit is contained in:
parent
0d06d7e108
commit
9a03cae920
@ -51,7 +51,8 @@ def migrate_trades_table(decl_base, inspector, engine, table_back_name: str, col
|
||||
leverage = get_column_def(cols, 'leverage', '1.0')
|
||||
interest_rate = get_column_def(cols, 'interest_rate', '0.0')
|
||||
liquidation_price = get_column_def(cols, 'liquidation_price', 'null')
|
||||
is_short = get_column_def(cols, 'is_short', 'False')
|
||||
# sqlite does not support literals for booleans
|
||||
is_short = get_column_def(cols, 'is_short', '0')
|
||||
interest_mode = get_column_def(cols, 'interest_mode', 'null')
|
||||
# If ticker-interval existed use that, else null.
|
||||
if has_column(cols, 'ticker_interval'):
|
||||
|
Loading…
Reference in New Issue
Block a user