fix db engine config
This commit is contained in:
parent
3a7abb3853
commit
a585938128
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from cognee.infrastructure.InfrastructureConfig import infrastructure_config
|
||||
|
||||
from cognee.infrastructure.databases.relational.config import get_relationaldb_config
|
||||
config = get_relationaldb_config()
|
||||
def create_task_status_table():
|
||||
db_engine = infrastructure_config.get_config("database_engine")
|
||||
db_engine = config.database_engine
|
||||
|
||||
db_engine.create_table("cognee_task_status", [
|
||||
dict(name = "data_id", type = "STRING"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue