fix: use execcontext in db

This commit is contained in:
2026-06-11 14:49:57 +02:00
parent 6ba387bb6a
commit acabd50970
3 changed files with 5 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ func openCommandPaletteTestDB(t *testing.T) *sql.DB {
}
t.Cleanup(func() { _ = sqlDB.Close() })
_, err = sqlDB.Exec(`
_, err = sqlDB.ExecContext(context.Background(), `
CREATE TABLE anime (
id INTEGER PRIMARY KEY,
title_original TEXT NOT NULL,