feat: meanwhile scene schema + state (T63)

This commit is contained in:
Joseph Doherty
2026-04-26 20:51:08 -04:00
parent 819803da84
commit c463dc70b2
4 changed files with 462 additions and 2 deletions
+2 -2
View File
@@ -324,11 +324,11 @@ def test_get_scene_returns_none_for_missing(tmp_path):
assert active_scene(conn, "chat_missing") is None
def test_schema_version_after_migration_is_10(tmp_path):
def test_schema_version_after_migration_is_11(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]) == 10
assert int(row[0]) == 11