* add new version and upgrade.

This commit is contained in:
wangyidong
2021-08-04 14:18:09 +08:00
parent 995ae04702
commit fd8d02c7df
31 changed files with 1585 additions and 115 deletions
+2 -5
View File
@@ -692,13 +692,9 @@ class upgradeModel extends model
$this->saveLogs('Execute 15_2');
$this->execSQL($this->getUpgradeFile('15.2'));
$this->processGitlabRepo();
$this->appendExec('15_2');
case '15_3':
$this->saveLogs('Execute 15_3');
$this->execSQL($this->getUpgradeFile('15.3'));
$this->processStoryFileType();
$this->processProductDoc();
$this->appendExec('15_3');
$this->appendExec('15_2');
}
$this->deletePatch();
@@ -890,6 +886,7 @@ class upgradeModel extends model
case '15_0_1':
case '15_0_2': $confirmContent .= file_get_contents($this->getUpgradeFile('15.0.2'));
case '15_0_3': $confirmContent .= file_get_contents($this->getUpgradeFile('15.0.3'));
case '15_2': $confirmContent .= file_get_contents($this->getUpgradeFile('15.2'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}