(database: Database, key: string)
| 106 | } |
| 107 | |
| 108 | function metaValue(database: Database, key: string): string | null { |
| 109 | const row = database |
| 110 | .prepare("SELECT value FROM schema_migrations_meta WHERE key = ?") |
| 111 | .get(key) as { value: string } | undefined; |
| 112 | return row?.value ?? null; |
| 113 | } |
| 114 | |
| 115 | function makeHarness(database: Database, messages: string[]) { |
| 116 | return { |
no test coverage detected