mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-25 04:27:28 +08:00
fix: 修复迁移配置文件时配置为数组时的错误
This commit is contained in:
@@ -172,7 +172,7 @@ class MigrateFromV2b extends Command
|
|||||||
}
|
}
|
||||||
Setting::create([
|
Setting::create([
|
||||||
'name' => $k,
|
'name' => $k,
|
||||||
'value' => $v,
|
'value' => is_array($v)? json_encode($v) : $v,
|
||||||
]);
|
]);
|
||||||
$this->info("配置 ${k} 迁移成功");
|
$this->info("配置 ${k} 迁移成功");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user