Small enhancements to docs

This commit is contained in:
Matthias
2021-02-09 20:22:33 +01:00
parent 081b9be45c
commit 20455de2a9
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ def check_migrate(engine, decl_base, previous_tables) -> None:
inspector = inspect(engine)
cols = inspector.get_columns('trades')
if 'orders' not in previous_tables:
if 'orders' not in previous_tables and 'trades' in previous_tables:
logger.info('Moving open orders to Orders table.')
migrate_open_orders_to_trades(engine)
else: