- Added index on `created_at` which is the sort key used when loading the log activities widget on the dashboard. - Refactored query used when loading activities to avoid a full table scan.