-- 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);