mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix DB timezone validation (#14035)
* Fix DB timezone validation Restore DB session timezone after schema dump * happy styleci is good styleci
This commit is contained in:
@@ -407,6 +407,8 @@ class Schema
|
||||
}
|
||||
}
|
||||
|
||||
DB::statement('SET TIME_ZONE=@@global.time_zone'); // restore session timezone
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user