#600

Purge stale audit log rows

The test environment is cluttered with old audit log rows. Delete from audit_log every record created more than 30 days ago relative to the current moment. Fresh rows (younger than 30 days) must stay. Treat the current moment as 2026-05-05 12:00:00 UTC — every relative-time expression in the seed and the reference solution is anchored to that point.

Just INSERT/UPDATE/DELETE — no trailing SELECT needed.

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid