refactor(core): simplify session context epochs (#33378)
This commit is contained in:
parent
f9f2280452
commit
c6ee511485
16 changed files with 281 additions and 728 deletions
|
|
@ -71,9 +71,9 @@ describe("DatabaseMigration", () => {
|
|||
).toEqual({ name: "session_context_epoch" })
|
||||
expect(
|
||||
yield* db.get(
|
||||
sql`SELECT name, dflt_value FROM pragma_table_info('session_context_epoch') WHERE name = 'agent'`,
|
||||
sql`SELECT name FROM pragma_table_info('session_context_epoch') WHERE name IN ('agent', 'replacement_seq', 'revision')`,
|
||||
),
|
||||
).toEqual({ name: "agent", dflt_value: "'build'" })
|
||||
).toBeUndefined()
|
||||
expect(yield* db.get(sql`SELECT count(*) as count FROM migration`)).toEqual({ count: migrations.length })
|
||||
expect(
|
||||
yield* db.all(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue