From 016e46e8d51f15af7d146adb018aa250e392eeaa Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 28 Sep 2023 08:21:06 -0400 Subject: [PATCH] Adding a few more fields. --- src/administration/backup_and_restore.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/administration/backup_and_restore.md b/src/administration/backup_and_restore.md index d04d79e..fb401bd 100644 --- a/src/administration/backup_and_restore.md +++ b/src/administration/backup_and_restore.md @@ -67,6 +67,11 @@ Get into `psql` for your docker: -- Instance update instance set domain = replace (domain, 'old_domain', 'new_domain'); +-- Site +update site set actor_id = replace (actor_id, 'old_domain', 'new_domain'); +update site set inbox_url = replace (inbox_url, 'old_domain', 'new_domain'); +update site set sidebar = replace (sidebar, 'old_domain', 'new_domain'); + -- Post update post set ap_id = replace (ap_id, 'old_domain', 'new_domain'); update post set url = replace (url, 'old_domain', 'new_domain'); @@ -79,6 +84,7 @@ update comment set content = replace (content, 'old_domain', 'new_domain'); -- Private messages update private_message set ap_id = replace (ap_id, 'old_domain', 'new_domain'); +update private_message set content = replace (content, 'old_domain', 'new_domain'); -- User update person set actor_id = replace (actor_id, 'old_domain', 'new_domain'); @@ -99,6 +105,9 @@ update community set description = replace (description, 'old_domain', 'new_doma update community set icon = replace (icon, 'old_domain', 'new_domain'); update community set banner = replace (banner, 'old_domain', 'new_domain'); +--- Custom Emoji +update custom_emoji set image_url = replace (image_url, 'old_domain', 'new_domain'); + ``` ## More resources