* [ci,done,0.1h] fix execdmsql unit test error.

This commit is contained in:
tianshujie
2025-06-04 17:15:16 +08:00
parent 2c40b3b3d7
commit 87c19669b4
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -160,6 +160,8 @@ class installModel extends model
*/
public function execDMSQL(): bool
{
if($this->config->db->driver != 'dm') return true;
$dbPath = $this->app->getAppRoot() . 'db' . DS;
$dbFile = $dbPath . 'dm.sql';
$dbFuncFile = $dbPath . 'dm_function.sql';