refactor(shoraka): move financing records to master database

This commit is contained in:
2026-10-19 13:35:42 +08:00
parent 011fbfe8b2
commit a36cbcf930
6 changed files with 124 additions and 2 deletions
+16
View File
@@ -63,6 +63,22 @@ return [
]) : [],
],
// Point these settings at the same database as api_arrahn's mysql7.
'shoraka_master' => [
'driver' => 'mysql',
'host' => env('SHORAKA_MASTER_DB_HOST'),
'port' => env('SHORAKA_MASTER_DB_PORT', '3306'),
'database' => env('SHORAKA_MASTER_DB_DATABASE'),
'username' => env('SHORAKA_MASTER_DB_USERNAME'),
'password' => env('SHORAKA_MASTER_DB_PASSWORD'),
'unix_socket' => env('SHORAKA_MASTER_DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),