From 3221726d85c97afd4ce3e01c50f761750c9799e8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 8 May 2022 17:27:07 +0200 Subject: [PATCH] Update migration to use boolean value closes #6794 --- freqtrade/persistence/migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/persistence/migrations.py b/freqtrade/persistence/migrations.py index 03f3c3fb9..4d29b3d49 100644 --- a/freqtrade/persistence/migrations.py +++ b/freqtrade/persistence/migrations.py @@ -99,7 +99,7 @@ def migrate_trades_and_orders_table( liquidation_price = get_column_def(cols, 'liquidation_price', get_column_def(cols, 'isolated_liq', 'null')) # sqlite does not support literals for booleans - is_short = get_column_def(cols, 'is_short', '0') + is_short = get_column_def(cols, 'is_short', 'false') # Margin Properties interest_rate = get_column_def(cols, 'interest_rate', '0.0')