const { Pool } = require('pg'); const pool = new Pool({ connectionString: process.env.DATABASE_URL || 'postgresql://kelly:kelly@localhost:5432/hub' }); (async () => { try { await pool.query(` UPDATE proxy_test_jobs SET status = 'cancelled', completed_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP WHERE id = 2 `); console.log('✅ Cancelled job ID 2'); process.exit(0); } catch (error) { console.error('Error:', error); process.exit(1); } })();