jojo/routers/web/user
Gusted d1cef852ee feat: rework notification table (#9926)
This change is motivated by 5e300a2a87

- Drop the `updated_by` and `commit_id` column, they are unused and have a index for no reason.
- Drop the index on `status` and `created_unix` and make a index on `(user_id, status)`.

## Test
1. Run migration.
2. Confirm the migration succeeds.
3. Check that `notification` table has the correct indexes.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9926
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-29 23:03:56 +01:00
..
setting feat: Global 2FA enforcement (#8753) 2025-08-15 10:56:45 +02:00
avatar.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
code.go fix(code-search): fix broken pagination. (#9000) 2025-08-23 13:06:41 +02:00
home.go feat(issue-search): support query syntax (#9109) 2025-11-19 16:05:42 +01:00
home_test.go fix: reduce deadlocks merging PRs by using caching for repo issue count stats (#9922) 2025-10-31 23:50:05 +01:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
notification.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
package.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
profile.go chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00
search.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
stop_watch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
task.go feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00