[bug]: Memory.reset() deletes collection and table without re-creating it (#1952)

This commit is contained in:
Mayank
2024-10-15 16:46:50 +05:30
committed by GitHub
parent 9341d9f597
commit 3f2d5bee34
3 changed files with 16 additions and 5 deletions

View File

@@ -140,3 +140,4 @@ class SQLiteManager:
def reset(self):
with self.connection:
self.connection.execute("DROP TABLE IF EXISTS history")
self._create_history_table()