Spaces:
Sleeping
Sleeping
Update mnemo_core.py
Browse files- mnemo_core.py +2 -2
mnemo_core.py
CHANGED
|
@@ -444,8 +444,8 @@ CREATE TABLE IF NOT EXISTS memories (
|
|
| 444 |
);
|
| 445 |
CREATE INDEX IF NOT EXISTS idx_mem_ns ON memories(namespace);
|
| 446 |
CREATE INDEX IF NOT EXISTS idx_mem_tier ON memories(tier);
|
| 447 |
-
|
| 448 |
-
|
| 449 |
|
| 450 |
-- FTS for blob memories
|
| 451 |
CREATE VIRTUAL TABLE IF NOT EXISTS memory_fts USING fts5(
|
|
|
|
| 444 |
);
|
| 445 |
CREATE INDEX IF NOT EXISTS idx_mem_ns ON memories(namespace);
|
| 446 |
CREATE INDEX IF NOT EXISTS idx_mem_tier ON memories(tier);
|
| 447 |
+
-- NOTE: idx_mem_session and idx_mem_source are created by _migrate_memories_columns()
|
| 448 |
+
-- to avoid errors on existing databases that lack those columns during schema init.
|
| 449 |
|
| 450 |
-- FTS for blob memories
|
| 451 |
CREATE VIRTUAL TABLE IF NOT EXISTS memory_fts USING fts5(
|