Merge branch '204-fix' into 'develop'
[akkoma] / docs / administration / CLI_tasks / database.md
index 647f6f27467aa87689a518b54cb7467daf02b52d..64dd66c0cc0391ce1f144ed3e07a5e6be4a65958 100644 (file)
@@ -97,4 +97,14 @@ but should only be run if necessary. **It is safe to cancel this.**
 
 ```sh tab="From Source"
 mix pleroma.database vacuum full
-```
\ No newline at end of file
+```
+
+## Add expiration to all local statuses
+
+```sh tab="OTP"
+./bin/pleroma_ctl database ensure_expiration
+```
+
+```sh tab="From Source"
+mix pleroma.database ensure_expiration
+```