Commit Graph

2 Commits (a86d9337e993b6c91704b843c63433f51d474e67)

Author SHA1 Message Date
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` ()
Part of 

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
yp05327 60ca3d04a4
Add fix incorrect can_create_org_repo for org owner team ()
Related to:  

In migration v109, we only added a new column `CanCreateOrgRepo` in Team
table, but not initial the value of it.
This may cause bug like .

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>