db: remove tag_aliases.post_count column.

This was only used in autocomplete, but it was unnecessary here because
we could already get the post count from the tags table.
This commit is contained in:
evazion
2019-11-17 14:14:17 -06:00
parent a2ea2a65a1
commit 64728c89d8
5 changed files with 12 additions and 18 deletions

View File

@@ -14,7 +14,6 @@ module DanbooruMaintenance
Delayed::Job.where('created_at < ?', 45.days.ago).delete_all
PostDisapproval.prune!
ForumSubscription.process_all!
TagAlias.update_cached_post_counts_for_all
PostDisapproval.dmail_messages!
regenerate_post_counts!
SuperVoter.init!