askvortsov / flarum-recalc-meta
Recalculate Metadata
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.8
This package is auto-updated.
Last update: 2024-10-26 03:58:03 UTC
README
A Flarum extension. Sometimes, metadata counts get out of sync. This extension adds 3 commands to update them:
php flarum recalculate_stats:discussions
recalculates first post, last post, comment count, and participant count metadata for each discussion.php flarum recalculate_stats:tags
discussion count, comment count, and last posted discussion for each tag. This should ONLY be used if the askvortsov/categories discussion is installed.php flarum recalculate_stats:users
recalculates user discussion and post count for each user.
Please note that these commands can be very slow on large databases. This should not be used on extremely large databases.
Installation
Install manually with composer:
composer require askvortsov/flarum-recalc-meta
Updating
composer update askvortsov/flarum-recalc-meta