Skip to content

Commit 6735b84

Browse files
authored
Merge pull request #4783 from laravel/laurencei-patch-1
[5.7] Update database config
2 parents 877e2d7 + 15dac2a commit 6735b84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/database.php

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'charset' => 'utf8mb4',
5151
'collation' => 'utf8mb4_unicode_ci',
5252
'prefix' => '',
53+
'prefix_indexes' => true,
5354
'strict' => true,
5455
'engine' => null,
5556
],
@@ -63,6 +64,7 @@
6364
'password' => env('DB_PASSWORD', ''),
6465
'charset' => 'utf8',
6566
'prefix' => '',
67+
'prefix_indexes' => true,
6668
'schema' => 'public',
6769
'sslmode' => 'prefer',
6870
],
@@ -76,6 +78,7 @@
7678
'password' => env('DB_PASSWORD', ''),
7779
'charset' => 'utf8',
7880
'prefix' => '',
81+
'prefix_indexes' => true,
7982
],
8083

8184
],

0 commit comments

Comments
 (0)