There was an error while loading. Please reload this page.
1 parent a91da13 commit 674dd1fCopy full SHA for 674dd1f
1 file changed
src/basic_memory/db.py
@@ -78,8 +78,6 @@ async def init_db() -> None:
78
79
async with scoped_session(_session_maker) as session:
80
await session.execute(text("PRAGMA foreign_keys=ON"))
81
- conn = await session.connection()
82
- await conn.run_sync(Base.metadata.create_all)
83
84
# recreate search index
85
await session.execute(CREATE_SEARCH_INDEX)
0 commit comments