* Add the upgrade sql in upgrade module.

This commit is contained in:
hufangzhou
2021-10-19 13:48:28 +08:00
parent 68e738fdd7
commit e5d8340402
+2 -1
View File
@@ -723,6 +723,7 @@ class upgradeModel extends model
$this->appendExec('15_5');
case '15_6':
$this->saveLogs('Execute 15_6');
$this->execSQL($this->getUpgradeFile('15.6'));
$this->appendExec('15_6');
}
@@ -927,7 +928,7 @@ class upgradeModel extends model
$confirmContent .= file_get_contents($xuanxuanSql);
}
case '15_5': $confirmContent .= file_get_contents($this->getUpgradeFile('15.5'));
case '15_6':
case '15_6': $confirmContent .= file_get_contents($this->getUpgradeFile('15.6'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}