Commit f1483e8
jl
Add DB_CONNECTION as fallback for LARAVEL_LOGGER_DATABASE_CONNECTION
When using a database different from MySQL, laravel-logger fails to migrate because of the default `mysql` value.
Now, when `LARAVEL_LOGGER_DATABASE_CONNECTION` has not been added to `.env`, `DB_CONNECTION` is used instead.
If none of them exist, `mysql` is used as default value.1 parent 8b1c912 commit f1483e8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments