where_raw( 'created_at < DATE_SUB(NOW(), INTERVAL ' . $days . ' DAY)' ) ->delete_where(); } }