fix(sqlite): bump SCHEMA_VERSION to 3 for the new surface columns

This commit is contained in:
Hypatia May
2026-06-23 09:48:15 +08:00
parent 0298f5c6f0
commit 30805e1983
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import type { SessionEvent, SessionId, SessionHeader, SurfaceOp } from '@deepsee
* layout; orthogonal to a session's own `version` (which versions the EVENT
* vocabulary, stored per session in the `sessions` row).
*/
export const SCHEMA_VERSION = 2
export const SCHEMA_VERSION = 3
/**
* A row of the `sessions` table — the out-of-log metadata ({@link SessionHeader}).

View File

@@ -315,7 +315,7 @@ describe('SessionPersistenceSqlite: durability and crash semantics', () => {
})
it('exposes the schema version constant', () => {
expect(SCHEMA_VERSION).toBe(2)
expect(SCHEMA_VERSION).toBe(3)
})
})