Browse Source

Update db config

Daniel Supernault 4 năm trước cách đây
mục cha
commit
2ab032599c
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      config/database.php

+ 7 - 1
config/database.php

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