Browse Source

Update db config

Daniel Supernault 3 years ago
parent
commit
2ab032599c
1 changed files with 7 additions and 1 deletions
  1. 7 1
      config/database.php

+ 7 - 1
config/database.php

@@ -1,7 +1,8 @@
 <?php
 <?php
 
 
-return [
+use Illuminate\Database\DBAL\TimestampType;
 
 
+return [
     /*
     /*
     |--------------------------------------------------------------------------
     |--------------------------------------------------------------------------
     | Default Database Connection Name
     | Default Database Connection Name
@@ -119,4 +120,9 @@ return [
 
 
     ],
     ],
 
 
+	'dbal' => [
+	    'types' => [
+	        'timestamp' => TimestampType::class,
+	    ],
+	],
 ];
 ];