summaryrefslogtreecommitdiff
path: root/src/Database/DatabaseServiceProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database/DatabaseServiceProvider.php')
-rw-r--r--src/Database/DatabaseServiceProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Database/DatabaseServiceProvider.php b/src/Database/DatabaseServiceProvider.php
index b3c33588..d0068b54 100644
--- a/src/Database/DatabaseServiceProvider.php
+++ b/src/Database/DatabaseServiceProvider.php
@@ -2,6 +2,7 @@
namespace Engelsystem\Database;
+use Carbon\Carbon;
use Engelsystem\Container\ServiceProvider;
use Exception;
use Illuminate\Database\Capsule\Manager as CapsuleManager;
@@ -24,6 +25,7 @@ class DatabaseServiceProvider extends ServiceProvider
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
+ 'timezone' => Carbon::now()->format('P'),
'prefix' => '',
], $dbConfig));