mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 13:23:04 +01:00
Fix migrations for new cast
This commit is contained in:
@@ -18,7 +18,9 @@ class AddVisibleColumnsSetting extends Migration
|
||||
if (!SettingsHelper::get('visible_columns')) {
|
||||
Setting::create([
|
||||
'name' => 'visible_columns',
|
||||
'value' => 'id,created_at,download,upload,ping',
|
||||
'value' => [
|
||||
'id', 'created_at', 'download', 'upload', 'ping'
|
||||
],
|
||||
'description' => 'Choose and order the columns shown in the "All Tests" table.'
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,9 @@ class AddHiddenColumnsSetting extends Migration
|
||||
if (!SettingsHelper::get('hidden_columns')) {
|
||||
Setting::create([
|
||||
'name' => 'hidden_columns',
|
||||
'value' => 'server_id,server_name,server_host,url,scheduled',
|
||||
'value' => [
|
||||
'server_id', 'server_name', 'server_host', 'url', 'scheduled',
|
||||
],
|
||||
'description' => 'Columns hidden from the "All Tests" table.'
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user