style: fix prettier formatting in db.ts

This commit is contained in:
Gabi Simons
2026-03-18 14:04:31 +02:00
parent a4dc3a7446
commit b7f1d48423

View File

@@ -95,9 +95,7 @@ function createSchema(database: Database.Database): void {
// Add script column if it doesn't exist (migration for existing DBs) // Add script column if it doesn't exist (migration for existing DBs)
try { try {
database.exec( database.exec(`ALTER TABLE scheduled_tasks ADD COLUMN script TEXT`);
`ALTER TABLE scheduled_tasks ADD COLUMN script TEXT`,
);
} catch { } catch {
/* column already exists */ /* column already exists */
} }
@@ -420,7 +418,12 @@ export function updateTask(
updates: Partial< updates: Partial<
Pick< Pick<
ScheduledTask, ScheduledTask,
'prompt' | 'script' | 'schedule_type' | 'schedule_value' | 'next_run' | 'status' | 'prompt'
| 'script'
| 'schedule_type'
| 'schedule_value'
| 'next_run'
| 'status'
> >
>, >,
): void { ): void {