pleroma.database fill_old_hashtags: Add month_limit argument
[akkoma] / docs / administration / CLI_tasks / database.md
index 6dca8316729079c80ca997fe24f9b84b479c4795..eb85381ffa779eb49af9f72cf6ac7fa04391fd04 100644 (file)
@@ -91,6 +91,18 @@ Can be safely re-run
     mix pleroma.database fix_likes_collections
     ```
 
+## 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 <months_limit>
+```
+
+```sh tab="From Source"
+mix pleroma.database fill_old_hashtags <months_limit>
+```
+
 ## Vacuum the database
 
 ### Analyze