Skip to content

Commit a3dddf8

Browse files
committed
remove not used database config
1 parent fd5d019 commit a3dddf8

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

config/database.php

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -30,38 +30,6 @@
3030
*/
3131

3232
'connections' => [
33-
34-
'sqlite' => [
35-
'driver' => 'sqlite',
36-
'url' => env('DB_URL'),
37-
'database' => env('DB_DATABASE', database_path('database.sqlite')),
38-
'prefix' => '',
39-
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
40-
'busy_timeout' => null,
41-
'journal_mode' => null,
42-
'synchronous' => null,
43-
],
44-
45-
'mysql' => [
46-
'driver' => 'mysql',
47-
'url' => env('DB_URL'),
48-
'host' => env('DB_HOST', '127.0.0.1'),
49-
'port' => env('DB_PORT', '3306'),
50-
'database' => env('DB_DATABASE', 'laravel'),
51-
'username' => env('DB_USERNAME', 'root'),
52-
'password' => env('DB_PASSWORD', ''),
53-
'unix_socket' => env('DB_SOCKET', ''),
54-
'charset' => env('DB_CHARSET', 'utf8mb4'),
55-
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
56-
'prefix' => '',
57-
'prefix_indexes' => true,
58-
'strict' => true,
59-
'engine' => null,
60-
'options' => extension_loaded('pdo_mysql') ? array_filter([
61-
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
62-
]) : [],
63-
],
64-
6533
'mariadb' => [
6634
'driver' => 'mariadb',
6735
'url' => env('DB_URL'),
@@ -81,37 +49,6 @@
8149
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
8250
]) : [],
8351
],
84-
85-
'pgsql' => [
86-
'driver' => 'pgsql',
87-
'url' => env('DB_URL'),
88-
'host' => env('DB_HOST', '127.0.0.1'),
89-
'port' => env('DB_PORT', '5432'),
90-
'database' => env('DB_DATABASE', 'laravel'),
91-
'username' => env('DB_USERNAME', 'root'),
92-
'password' => env('DB_PASSWORD', ''),
93-
'charset' => env('DB_CHARSET', 'utf8'),
94-
'prefix' => '',
95-
'prefix_indexes' => true,
96-
'search_path' => 'public',
97-
'sslmode' => 'prefer',
98-
],
99-
100-
'sqlsrv' => [
101-
'driver' => 'sqlsrv',
102-
'url' => env('DB_URL'),
103-
'host' => env('DB_HOST', 'localhost'),
104-
'port' => env('DB_PORT', '1433'),
105-
'database' => env('DB_DATABASE', 'laravel'),
106-
'username' => env('DB_USERNAME', 'root'),
107-
'password' => env('DB_PASSWORD', ''),
108-
'charset' => env('DB_CHARSET', 'utf8'),
109-
'prefix' => '',
110-
'prefix_indexes' => true,
111-
// 'encrypt' => env('DB_ENCRYPT', 'yes'),
112-
// 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
113-
],
114-
11552
],
11653

11754
/*

0 commit comments

Comments
 (0)