Commit graph

5 commits

Author SHA1 Message Date
noellabo
999e361892 Add status reference 2023-01-16 12:58:29 +09:00
noellabo
95bb69a626 Add emoji_reactions_count 2022-10-07 14:59:56 +09:00
noellabo
83392afa63 Add emoji reaction cache 2022-05-11 00:48:03 +09:00
Eugen Rochko
11b3ee4f4c
Reset status cache when status_stat or media_attachment updates (#9119)
* Reset status cache when status_stat or media_attachment updates

Fix #8711

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from #8185, because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.

* Remove join from Status#cache_ids since it has no effect
2018-10-28 06:42:34 +01:00
Eugen Rochko
8e111b753a
Move status counters to separate table, count replies (#8104)
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
2018-08-14 19:19:32 +02:00