したがって、これを入力すると、このエラーが発生します。
ALTER TABLE user_follow
ADD FOREIGN KEY (follower,following)
REFERENCES users(idusers)
しかし、フォロワーと次を分離してもエラーは発生しません
ALTER TABLE user_follow
ADD FOREIGN KEY (follower)
REFERENCES users(idusers)
ALTER TABLE user_follow
ADD FOREIGN KEY (following)
REFERENCES users(idusers)
私はこれを正しくやっていますか?