修复关注

This commit is contained in:
浪子
2026-05-14 14:19:23 +08:00
parent 5a9acd60c5
commit 635aad8162
7 changed files with 157 additions and 21 deletions
+5
View File
@@ -0,0 +1,5 @@
-- Remote actors need a slash-free local id so Mastodon API paths like
-- /api/v1/accounts/:id/follow can target them without URL-encoding "/".
ALTER TABLE actor_cache ADD COLUMN local_id TEXT;
CREATE UNIQUE INDEX IF NOT EXISTS idx_actor_cache_local_id ON actor_cache(local_id);