Skip to content

Commit

Permalink
fix default database connection env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Jul 24, 2019
1 parent 5dfff99 commit 84072ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,9 +2,13 @@


All notable changes to `spatie/laravel-activitylog` will be documented in this file All notable changes to `spatie/laravel-activitylog` will be documented in this file


## 3.7.1 - 2019-07-24

- fix default database connection env var

## 3.7.0 - 2019-07-23 ## 3.7.0 - 2019-07-23


- add database connection to configuration [#568](https://github.com/spatie/laravel-activitylog/pull/568) - add database connection to configuration `activitylog.database_connection` and `ACTIVITY_LOGGER_DB_CONNECTION` env var [#568](https://github.com/spatie/laravel-activitylog/pull/568)


## 3.6.3 - 2019-07-23 ## 3.6.3 - 2019-07-23


Expand Down
2 changes: 1 addition & 1 deletion config/activitylog.php
Expand Up @@ -47,5 +47,5 @@
* This is the database connection that will be used by the migration and * This is the database connection that will be used by the migration and
* the Activity model shipped with this package. * the Activity model shipped with this package.
*/ */
'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION', 'mysql'), 'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION', env('DB_CONNECTION', 'mysql')),
]; ];

0 comments on commit 84072ce

Please sign in to comment.