feat: chats, chat_state, containers, scenes, activity tables

This commit is contained in:
Joseph Doherty
2026-04-26 12:03:26 -04:00
parent 30e6648122
commit ec344064f1
4 changed files with 583 additions and 2 deletions
+2 -2
View File
@@ -219,11 +219,11 @@ def test_memory_payload_defaults_when_optional_missing(tmp_path):
assert mem["auto_pinned"] == 0
def test_schema_version_after_migration_is_6(tmp_path):
def test_schema_version_after_migration_is_at_least_6(tmp_path):
db = tmp_path / "t.db"
apply_migrations(db)
with open_db(db) as conn:
row = conn.execute(
"SELECT value FROM meta WHERE key = 'schema_version'"
).fetchone()
assert int(row[0]) == 6
assert int(row[0]) >= 6