Task: Purge n8n execution history located in Postgres

n8n workflow:
{"nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[700,240],"parameters":{},"typeVersion":1},{"name":"Cron","type":"n8n-nodes-base.cron","position":[700,440],"parameters":{"triggerTimes":{"item":[{"hour":3}]}},"typeVersion":1},{"name":"Postgres","type":"n8n-nodes-base.postgres","position":[1060,440],"parameters":{"query":"DELETE FROM \"execution_entity\" WHERE DATE(\"stoppedAt\") < NOW() - INTERVAL '1 DAY';\n","operation":"executeQuery","additionalFields":{}},"credentials":{"postgres":{"id":"3","name":"Postgres account"}},"typeVersion":1}],"connections":{"Cron":{"main":[[{"node":"Postgres","type":"main","index":0}]]},"On clicking 'execute'":{"main":[[{"node":"Postgres","type":"main","index":0}]]}}}