1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/models/activities
Zettat123 b958dba1a0
Improve indices for action table (#23532)
Close #21611 

Add the index mentioned in
https://github.com/go-gitea/gitea/issues/21611#issuecomment-1451113252 .
Since we already have an index for `("created_unix", "user_id",
"is_deleted")` columns on PostgreSQL, I removed the database type check
to apply this index to all types of databases.
2023-03-24 23:44:33 +08:00
..
action.go Improve indices for action table (#23532) 2023-03-24 23:44:33 +08:00
action_list.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
action_test.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
notification_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_activity.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
statistic.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user_heatmap.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00