* Add upgrade version.

This commit is contained in:
Yagami
2021-04-02 09:35:12 +08:00
parent b697bccff1
commit 86da04ad79
2 changed files with 5 additions and 5 deletions
+1
View File
@@ -132,3 +132,4 @@ $lang->upgrade->fromVersions['12_4_4'] = '12.4.4';
$lang->upgrade->fromVersions['12_5'] = '12.5';
$lang->upgrade->fromVersions['12_5_1'] = '12.5.1';
$lang->upgrade->fromVersions['12_5_2'] = '12.5.2';
$lang->upgrade->fromVersions['12_5_3'] = '12.5.3';
+4 -5
View File
@@ -632,17 +632,15 @@ class upgradeModel extends model
case '12_5_2':
$this->saveLogs('Execute 12_5_2');
$this->appendExec('12_5_2');
case '12_5_3':
$this->saveLogs('Execute 12_5_3');
$this->appendExec('12_5_3');
case '15_0':
$this->saveLogs('Execute 15_0');
$this->execSQL($this->getUpgradeFile('15.0'));
$this->adjustWhitelistOfProject();
$this->adjustWhitelistOfProduct();
$this->appendExec('15_0');
case '15_0_beta1':
$this->saveLogs('Execute 15_0_beta1');
$this->adjustBugOfProject();
$this->adjustPriv15_0();
$this->appendExec('15_0_beta1');
}
$this->deletePatch();
@@ -826,6 +824,7 @@ class upgradeModel extends model
case '12_5':
case '12_5_1':
case '12_5_2':
case '12_5_3':
case '15_0' : $confirmContent .= file_get_contents($this->getUpgradeFile('15.0'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);