Skip to content
Permalink
Browse files

fix default database connection env var

  • Loading branch information...
Gummibeer committed Jul 24, 2019
1 parent 5dfff99 commit 84072ceb7406913aaf783dcebe173ce1681d25ed
Showing with 6 additions and 2 deletions.
  1. +5 −1 CHANGELOG.md
  2. +1 −1 config/activitylog.php
@@ -2,9 +2,13 @@

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

- 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

@@ -47,5 +47,5 @@
* This is the database connection that will be used by the migration and
* 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.
You can’t perform that action at this time.