Insert text representation of hashtags into object["hashtags"]

Includes a new mix task: pleroma.database fill_old_hashtags
This commit is contained in:
Haelwenn (lanodan) Monnier 2020-07-31 16:46:35 +02:00
commit acb03d591b
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
22 changed files with 139 additions and 51 deletions

View file

@ -91,6 +91,16 @@ Can be safely re-run
mix pleroma.database fix_likes_collections
```
## Fill hashtags for old objects
```sh tab="OTP"
./bin/pleroma_ctl database fill_old_hashtags
```
```sh tab="From Source"
mix pleroma.database fill_old_hashtags
```
## Vacuum the database
### Analyze