pleroma.database fill_old_hashtags: Add month_limit argument

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-12-22 05:11:19 +01:00
commit d0c2479710
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 43 additions and 33 deletions

View file

@ -93,12 +93,14 @@ Can be safely re-run
## Fill hashtags for old objects
Migrate hashags fields for old objects, from now to `months_limit` months.
```sh tab="OTP"
./bin/pleroma_ctl database fill_old_hashtags
./bin/pleroma_ctl database fill_old_hashtags <months_limit>
```
```sh tab="From Source"
mix pleroma.database fill_old_hashtags
mix pleroma.database fill_old_hashtags <months_limit>
```
## Vacuum the database