- Laravel Version: 5.8.2
- PHP Version: 7.3.2
- Database Driver & Version: mongodb
I use library https://github.com/jenssegers/laravel-mongodb and if model was touched by method touch in collection to document will added new field collection_name.updated_at and original field updated_at stay with old value. Broken commit 6484744.
Steps To Reproduce:
Create model, save her, and touch after . Example in tests
|
public function testTouchingChildModelUpdatesParentsTimestamps() |