* add new version and upgrade.

This commit is contained in:
wangyidong
2019-09-23 17:02:10 +08:00
parent 0a0ce92796
commit a3ba864944
5 changed files with 946 additions and 3 deletions
+6 -1
View File
@@ -520,6 +520,9 @@ class upgradeModel extends model
$this->adjustWebhookType();
$this->adjustPriv11_6_2();
$this->appendExec('11_6_1');
case '11_6_2':
$this->saveLogs('Execute 11_6_2');
$this->appendExec('11_6_2');
}
$this->deletePatch();
@@ -664,7 +667,9 @@ class upgradeModel extends model
case '11_5' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.5'));
case '11_5_1' :
case '11_5_2' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.5.2'));
case '11_6' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.6'));
case '11_6' : $confirmContent .= file_get_contents($this->getUpgradeFile('11.6'));
case '11_6_1' :
case '11_6_2' :
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}