mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	models/migrations: fix update error
This commit is contained in:
		@@ -289,7 +289,7 @@ func accessRefactor(x *xorm.Engine) (err error) {
 | 
				
			|||||||
				return fmt.Errorf("select users from team: %v", err)
 | 
									return fmt.Errorf("select users from team: %v", err)
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			for _, user := range results {
 | 
								for _, user := range results {
 | 
				
			||||||
				userID := com.StrTo(user["user_id"]).MustInt64()
 | 
									userID := com.StrTo(user["uid"]).MustInt64()
 | 
				
			||||||
				accessMap[UserRepo{userID, repoID}] = mode
 | 
									accessMap[UserRepo{userID, repoID}] = mode
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user