const { Client } = require('pg'); async function check() { const client = new Client({ host: '87.106.21.21', port: 5432, user: 'enwelo_admin', password: 'WX1t1cgP1qK09', database: 'enwelo' }); try { await client.connect(); await client.query("UPDATE geodaten.wea_standorte SET ksf_drehung = 45 WHERE wea_nummer = 'TEST-2'"); console.log('Updated TEST-2 rotation to 45'); } catch (e) { console.error(e); } finally { await client.end(); } } check();