feat: chats, chat_state, containers, scenes, activity tables
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user