# Is \`topic\_users.last\_visited\_at\` supposed to be updated on every visit?

**URL:** <https://meta.discourse.org/t/is-topic-users-last-visited-at-supposed-to-be-updated-on-every-visit/42164>\
**Category:** Development\
**Created:** [April 7, 2016, 4:47am UTC](https://meta.discourse.org/t/is-topic-users-last-visited-at-supposed-to-be-updated-on-every-visit/42164 "2016-04-07T04:47:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [April 7, 2016, 5:39am UTC](https://meta.discourse.org/t/is-topic-users-last-visited-at-supposed-to-be-updated-on-every-visit/42164/2 "2016-04-07T05:39:07Z")

</div>

Hmmm. Odd.

I just tried it and had similar results. NULLs until back to April 3

I was thinking that was around when I last upgraded, and since I always do a db:migrate after I update that maybe that was what was needed.  
But no joy.

Then I worried that maybe something broke with the upgrade. So I checked using different user ids.  
One had NULL back only 2 days, and another had no NULLs at all and was up-to-date.

Very puzzling.

---

_[View the full topic](https://meta.discourse.org/t/is-topic-users-last-visited-at-supposed-to-be-updated-on-every-visit/42164)._
