Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72c1e2a

Browse files
committed
Updated readme.
1 parent 51ac6d1 commit 72c1e2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
- Refactored post `migrate:make` hooks to dump autoloads for workbenches.
7474
- Added `DB::listen(Closure)` method which may be used to listen for database queries.
7575
- Added `Model::findOrFail(id)` and `firstOrFail` methods to Eloquent. Throws `ModelNotFoundException`. Can listen in your apps and return 404 repsonses if you want.
76+
- Added support for `touches` on Eloquent models. For example, adding `protected $touches = ['post']` to a Comment model will update the owning post's `updated_at` column when the Comment is updated.
7677

7778
## Beta 3
7879

0 commit comments

Comments
 (0)