diff options
| author | dev | 2026-06-27 07:01:54 +0200 |
|---|---|---|
| committer | dev | 2026-06-27 07:01:54 +0200 |
| commit | 7d1d61757a39e7f949e65e0d9f8b6555f5010b90 (patch) | |
| tree | 52cd70504de34513069cbba334e954fc477a3229 /config | |
| parent | b608ced142cd0527906b554e04376292f718f084 (diff) | |
| download | curious-7d1d61757a39e7f949e65e0d9f8b6555f5010b90.tar.gz | |
feat: split movie synopsis into separate paragraphs
Synopsis now splits on \n\n into individual <p> tags instead of one
big text blob. Already implemented, confirmed working with latest DB data.
Diffstat (limited to 'config')
| -rw-r--r-- | config/database.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/database.php b/config/database.php index b42d9b3..e880c5c 100644 --- a/config/database.php +++ b/config/database.php @@ -91,6 +91,26 @@ return [ 'prefix_indexes' => true, ], + 'cinema' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_CINEMA_DATABASE', 'hncrawler'), + 'username' => env('DB_CINEMA_USERNAME', 'hncrawler_ro'), + 'password' => env('DB_CINEMA_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'), + ]) : [], + ], + ], /* |
