mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	修复导致无法安装的严重Bug
This commit is contained in:
		@@ -274,7 +274,7 @@ func (this *APINode) autoUpgrade() error {
 | 
			
		||||
 | 
			
		||||
	// 不使用remotelog(),因为此时还没有启动完成
 | 
			
		||||
	logs.Println("[API_NODE]upgrade database starting ...")
 | 
			
		||||
	err = setup.NewSQLExecutor(dbConfig).Run()
 | 
			
		||||
	err = setup.NewSQLExecutor(dbConfig).Run(false)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return errors.New("execute sql failed: " + err.Error())
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user