const { Pool } = require('pg');
const pool = new Pool({ connectionString: 'postgresql://edumanager:EduManager2026!Seguro@150.230.87.131:5432/edumanager' });
async function fix() {
  const client = await pool.connect();
  try {
    await client.query("UPDATE frequencias SET data = '2026-05-02 14:37:10' WHERE id = 'b1961ef4-9a35-495a-86dc-4e6439d9670b'");
    await client.query("UPDATE frequencias SET data = '2026-04-25 15:10:55' WHERE id = '810ac2f3-860b-4173-a3c9-203c45f3d061'");
    console.log('Fixed dates for Napoleão');
  } finally {
    client.release();
    pool.end();
  }
}
fix().catch(console.error);
