Explorar o código

Update database config, add sticky flag https://laravel.com/docs/9.x/database#the-sticky-option

Daniel Supernault %!s(int64=2) %!d(string=hai) anos
pai
achega
10b6598049
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      config/database.php

+ 1 - 0
config/database.php

@@ -48,6 +48,7 @@ return [
             'username'    => env('DB_USERNAME', 'forge'),
             'password'    => env('DB_PASSWORD', ''),
             'unix_socket' => env('DB_SOCKET', ''),
+            'sticky'      => true,
             'charset'     => 'utf8mb4',
             'collation'   => 'utf8mb4_unicode_ci',
             'prefix'      => '',