Fix database migration
This commit is contained in:
parent
ea506b05c6
commit
d73d0a5253
@ -82,7 +82,7 @@ def check_migrate(engine) -> None:
|
|||||||
logger.info(f'trying {table_back_name}')
|
logger.info(f'trying {table_back_name}')
|
||||||
|
|
||||||
# Check for latest column
|
# Check for latest column
|
||||||
if not has_column(cols, 'max_rate'):
|
if not has_column(cols, 'ticker_interval'):
|
||||||
fee_open = get_column_def(cols, 'fee_open', 'fee')
|
fee_open = get_column_def(cols, 'fee_open', 'fee')
|
||||||
fee_close = get_column_def(cols, 'fee_close', 'fee')
|
fee_close = get_column_def(cols, 'fee_close', 'fee')
|
||||||
open_rate_requested = get_column_def(cols, 'open_rate_requested', 'null')
|
open_rate_requested = get_column_def(cols, 'open_rate_requested', 'null')
|
||||||
|
Loading…
Reference in New Issue
Block a user