fix(sqlite): bump SCHEMA_VERSION to 3 for the new surface columns
This commit is contained in:
@@ -15,7 +15,7 @@ import type { SessionEvent, SessionId, SessionHeader, SurfaceOp } from '@deepsee
|
|||||||
* layout; orthogonal to a session's own `version` (which versions the EVENT
|
* layout; orthogonal to a session's own `version` (which versions the EVENT
|
||||||
* vocabulary, stored per session in the `sessions` row).
|
* 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}).
|
* A row of the `sessions` table — the out-of-log metadata ({@link SessionHeader}).
|
||||||
|
|||||||
@@ -315,7 +315,7 @@ describe('SessionPersistenceSqlite: durability and crash semantics', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('exposes the schema version constant', () => {
|
it('exposes the schema version constant', () => {
|
||||||
expect(SCHEMA_VERSION).toBe(2)
|
expect(SCHEMA_VERSION).toBe(3)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user