gitea/models
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055)
To avoid deadlock problem, almost database related functions should be
have ctx as the first parameter.
This PR do a refactor for some of these functions.
2023-07-22 22:14:27 +08:00
..
actions
activities Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
admin
asymkey
auth
avatars
db
dbfs
fixtures
git
issues Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
migrations
organization
packages
perm
project
pull
repo
secret
shared/types
system
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
migrate.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
org_team_test.go
org_team.go
org_test.go
org.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go