gitea/models
zeripath 58a80ba69c
Add another index for Action table on postgres ()
In  we have discovered that on very big tables postgres will use a
search involving the sort term in preference to the restrictive index.

Therefore we add another index for postgres and update the original migration.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
activities Add another index for Action table on postgres ()
admin Move some files into models' sub packages ()
appstate Sync gitea app path for git hooks and authorized keys when starting ()
asymkey Increase Content field size of gpg_key and public_key to MEDIUMTEXT ()
auth Move some files into models' sub packages ()
avatars format with gofumpt ()
db Add migrate repo archiver and packages storage support on command line ()
fixtures Fix SQL Query for `SearchTeam` ()
foreignreference Store the foreign ID of issues during migration ()
git Add migrate repo archiver and packages storage support on command line ()
issues Fix missed sort bug ()
migrations Add another index for Action table on postgres ()
organization Move some files into models' sub packages ()
packages Delete unreferenced packages when deleting a package version ()
perm Move some files into models' sub packages ()
project Add option to purge users ()
pull Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
repo fix hard-coded timeout and error panic in API archive download endpoint ()
unit Add more linters to improve code readability ()
unittest Kd/ci playwright go test ()
user Move some files into models' sub packages ()
webhook Refactor AssertExistsAndLoadBean to use generics ()
error.go Move some files into models' sub packages ()
fixture_generation.go Move access and repo permission to models/perm/access ()
fixture_test.go Decouple unit test code from business code ()
main_test.go Move some files into models' sub packages ()
migrate.go Move some files into models' sub packages ()
migrate_test.go Move some files into models' sub packages ()
org.go Move some files into models' sub packages ()
org_team.go Move some files into models' sub packages ()
org_team_test.go Move some files into models' sub packages ()
org_test.go Refactor AssertExistsAndLoadBean to use generics ()
repo.go fix hard-coded timeout and error panic in API archive download endpoint ()
repo_collaboration.go Move some files into models' sub packages ()
repo_collaboration_test.go Move some files into models' sub packages ()
repo_test.go Move tests as seperate sub packages to reduce duplicated file names ()
repo_transfer.go Move some files into models' sub packages ()
repo_transfer_test.go Refactor AssertExistsAndLoadBean to use generics ()
user.go Move some files into models' sub packages ()