Skip to content

Commit 78c0070

Browse files
committed
Add pulse database connection
1 parent 30ac789 commit 78c0070

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

config/database.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,25 @@
9393
// 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
9494
],
9595

96+
'pulse' => [
97+
'driver' => 'mysql',
98+
'url' => env('PULSE_DATABASE_URL'),
99+
'host' => env('PULSE_DB_HOST', '127.0.0.1'),
100+
'port' => env('PULSE_DB_PORT', '3306'),
101+
'database' => env('PULSE_DB_DATABASE', 'pulse'),
102+
'username' => env('PULSE_DB_USERNAME', 'pulse'),
103+
'password' => env('PULSE_DB_PASSWORD', ''),
104+
'unix_socket' => env('PULSE_DB_SOCKET', ''),
105+
'charset' => 'utf8mb4',
106+
'collation' => 'utf8mb4_unicode_ci',
107+
'prefix' => '',
108+
'prefix_indexes' => true,
109+
'strict' => true,
110+
'engine' => null,
111+
'options' => extension_loaded('pdo_mysql') ? array_filter([
112+
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
113+
]) : [],
114+
],
96115
],
97116

98117
/*

0 commit comments

Comments
 (0)