File tree 2 files changed +13
-1
lines changed 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 0.4.16] - 10 May 2019
8
+ ### Changed
9
+ - the way the database name is determined when creating the cache prefix.
10
+
11
+ ## [ 0.4.15] - 9 May 2019
12
+ ### Fixed
13
+ - bindings used in ` whereIn ` clauses.
14
+
15
+ ## [ 0.4.14] - 21 Apr 2019
16
+ ### Fixed
17
+ - where ` first() ` didn't pass an array parameter.
18
+
7
19
## [ 0.4.13] - 4 Apr 2019
8
20
### Added
9
21
- helper function to run closure with model-caching disabled. Thanks for the suggestion, @mycarrysun
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ protected function getCachePrefix() : string
14
14
15
15
protected function getDatabaseName () : string
16
16
{
17
- return $ this ->query -> connection ->getDatabaseName ();
17
+ return $ this ->model -> getConnection () ->getDatabaseName ();
18
18
}
19
19
20
20
protected function getConnectionName () : string
You can’t perform that action at this time.
0 commit comments