이렇게 하면 될 것 같지만, 먼저 백업을 만들어 두세요.
cd /var/discourse ./launcher enter app
old_id=2 new_id=21 UserOption.where(theme_ids: [old_id]).update_all(theme_ids: [new_id])