Commit graph

2 commits

Author SHA1 Message Date
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>
2022-09-03 17:27:59 +01:00
zeripath
5c9c0b8c1e
Refix indices on actions table ()
Unforunately the previous PR  created indices that were not helpful
for SQLite. This PR adjusts these after testing using the try.gitea.io db.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-07-01 17:04:01 +01:00