style: format db.test.ts
This commit is contained in:
@@ -746,7 +746,9 @@ describe('task CRUD', () => {
|
|||||||
const migratedDb = new Database(dbPath, { readonly: true });
|
const migratedDb = new Database(dbPath, { readonly: true });
|
||||||
try {
|
try {
|
||||||
const remainingLogs = migratedDb
|
const remainingLogs = migratedDb
|
||||||
.prepare(`SELECT COUNT(*) AS count FROM task_run_logs WHERE task_id = ?`)
|
.prepare(
|
||||||
|
`SELECT COUNT(*) AS count FROM task_run_logs WHERE task_id = ?`,
|
||||||
|
)
|
||||||
.get('task-legacy-orphan') as { count: number };
|
.get('task-legacy-orphan') as { count: number };
|
||||||
const fkViolations = migratedDb.prepare('PRAGMA foreign_key_check').all();
|
const fkViolations = migratedDb.prepare('PRAGMA foreign_key_check').all();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user