refactor: Simplify trading plans table structure with Log engine
This commit is contained in:
parent
b327062a6d
commit
7ccb5a8065
@ -83,8 +83,8 @@ def create_trading_plan_table():
|
||||
id UInt32,
|
||||
plan_name String,
|
||||
status String,
|
||||
created_at DateTime64(3),
|
||||
updated_at DateTime64(3),
|
||||
created_at DateTime,
|
||||
updated_at DateTime,
|
||||
timeframe String,
|
||||
market_focus String,
|
||||
entry_criteria String,
|
||||
@ -118,7 +118,7 @@ def create_trading_plan_table():
|
||||
fundamental_criteria Nullable(String),
|
||||
options_strategy_details Nullable(String)
|
||||
)
|
||||
ENGINE = Memory
|
||||
ENGINE = Log
|
||||
"""
|
||||
client.execute(query)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user