@Formula("EXTRACT(epoch FROM COALESCE(closed_at, current_timestamp) - started_at)") private Long openingTime;
Any clues what could be wron