Skip to content

Commit 89377de

Browse files
committed
Clean up stale SQLite references and leaked secrets
- Remove invalid DB_DATABASE=:memory: from phpunit.xml (SQLite-only, breaks pgsql) - Remove duplicate pgsql config block with SQLite leftovers (busy_timeout, journal_mode) - Delete .env.prod_fixed containing hardcoded API keys and outdated SQLite config
1 parent abdde2b commit 89377de

3 files changed

Lines changed: 0 additions & 45 deletions

File tree

.env.prod_fixed

Lines changed: 0 additions & 32 deletions
This file was deleted.

config/database.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@
3131

3232
'connections' => [
3333

34-
'pgsql' => [
35-
'driver' => 'pgsql',
36-
'url' => env('DB_URL'),
37-
'database' => env('DB_DATABASE', database_path('database.pgsql')),
38-
'prefix' => '',
39-
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
40-
'busy_timeout' => null,
41-
'journal_mode' => null,
42-
'synchronous' => null,
43-
'transaction_mode' => 'DEFERRED',
44-
],
45-
4634
'mysql' => [
4735
'driver' => 'mysql',
4836
'url' => env('DB_URL'),

phpunit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<env name="BROADCAST_CONNECTION" value="null"/>
2525
<env name="CACHE_STORE" value="array"/>
2626
<env name="DB_CONNECTION" value="pgsql"/>
27-
<env name="DB_DATABASE" value=":memory:"/>
2827
<env name="MAIL_MAILER" value="array"/>
2928
<env name="QUEUE_CONNECTION" value="sync"/>
3029
<env name="SESSION_DRIVER" value="array"/>

0 commit comments

Comments
 (0)