mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +08:00
After #22362, we can feel free to use transactions without `db.DefaultContext`. And there are still lots of models using `db.DefaultContext`, I think we should refactor them carefully and one by one. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>