Fix database issue
This commit is contained in:
parent
a8d9ba29f5
commit
305bd67a03
1 changed files with 1 additions and 1 deletions
2
api.py
2
api.py
|
|
@ -208,7 +208,7 @@ async def drop_db(payload: Payload):
|
|||
else:
|
||||
pass
|
||||
|
||||
from cognitive_architecture.database.postgres import drop_database, create_admin_engine
|
||||
from cognitive_architecture.database.create_database import drop_database, create_admin_engine
|
||||
|
||||
engine = create_admin_engine(username, password, host, database_name)
|
||||
drop_database(engine)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue