Unforunately the previous PR #20035 created indices that were not helpful for SQLite. This PR adjusts these after testing using the try.gitea.io db. Fix #20129 Signed-off-by: Andrew Thornton <art27@cantab.net>
		
			
				
	
	
		
			9 lines
		
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright 2022 The Gitea Authors. All rights reserved.
 | |
| // Use of this source code is governed by a MIT-style
 | |
| // license that can be found in the LICENSE file.
 | |
| 
 | |
| package migrations
 | |
| 
 | |
| // This migration added non-ideal indices to the action table which on larger datasets slowed things down
 | |
| // it has been superceded by v218.go
 |