mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix bug on pull requests when transfer head repository (#8564)
* fix bug on pull requests when transfer head repository * add migration and fix lint * fix tests and add a cache check on LoadBaseRepo
This commit is contained in:
		@@ -258,6 +258,8 @@ var migrations = []Migration{
 | 
			
		||||
	NewMigration("update migration repositories' service type", updateMigrationServiceTypes),
 | 
			
		||||
	// v101 -> v102
 | 
			
		||||
	NewMigration("change length of some external login users columns", changeSomeColumnsLengthOfExternalLoginUser),
 | 
			
		||||
	// v102 -> v103
 | 
			
		||||
	NewMigration("update migration repositories' service type", dropColumnHeadUserNameOnPullRequest),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Migrate database to current version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user