loopback-example-database icon indicating copy to clipboard operation
loopback-example-database copied to clipboard

lastModifiedAt doesn't get updated

Open ismail-s opened this issue 11 years ago • 2 comments

The models have a lastModifiedAt field, but I can't see any code that updates this field when a row is updated.

ismail-s avatar Oct 30 '15 13:10 ismail-s

It only gets updated when you go through the auto-migration process in this demo. However, I like your idea of adding an example of how you would do it normally. Merged and thanks for the contribution! ;)

superkhau avatar Oct 30 '15 15:10 superkhau

You may recognise the code, it is basically from the docs

ismail-s avatar Oct 30 '15 15:10 ismail-s