fix: [stats] QuoteStatService codebridge DB 커넥션 연결
- codebridge DB로 이관된 테이블(sales_prospect_consultations, sales_prospects) 커넥션을 mysql → codebridge로 변경 - config/database.php에 codebridge 커넥션 추가 - quote_daily 집계 실패 해결 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -82,6 +82,26 @@
|
||||
]) : [],
|
||||
],
|
||||
|
||||
// Codebridge DB (이관된 Sales/Finance/Admin 등)
|
||||
'codebridge' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => env('CODEBRIDGE_DB_HOST', env('DB_HOST', '127.0.0.1')),
|
||||
'port' => env('CODEBRIDGE_DB_PORT', env('DB_PORT', '3306')),
|
||||
'database' => env('CODEBRIDGE_DB_DATABASE', 'codebridge'),
|
||||
'username' => env('CODEBRIDGE_DB_USERNAME', env('DB_USERNAME', 'root')),
|
||||
'password' => env('CODEBRIDGE_DB_PASSWORD', env('DB_PASSWORD', '')),
|
||||
'unix_socket' => env('DB_SOCKET', ''),
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => '',
|
||||
'prefix_indexes' => true,
|
||||
'strict' => true,
|
||||
'engine' => null,
|
||||
'options' => extension_loaded('pdo_mysql') ? array_filter([
|
||||
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
|
||||
]) : [],
|
||||
],
|
||||
|
||||
// 5130 레거시 DB (chandj)
|
||||
'chandj' => [
|
||||
'driver' => 'mysql',
|
||||
|
||||
Reference in New Issue
Block a user