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