Skip to content

Commit

Permalink
#9487 Included common fields for extra reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Jan 11, 2024
1 parent 780ddc7 commit c64eaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/migration/upgrade/PKPv3_3_0UpgradeMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ private function _settingsAsJSON()
});
} elseif (Schema::hasColumn($tableName, 'setting_type')) {
try {
$settings = DB::table($tableName)->where('setting_type', 'object')->get();
$settings = DB::table($tableName, 's')->where('setting_type', 'object')->get(['setting_name', 'setting_value', 's.*']);
} catch (Exception $e) {
error_log("Failed to migrate the settings entity \"{$tableName}\"\n" . $e);
continue;
Expand Down

0 comments on commit c64eaeb

Please sign in to comment.