add_index :relationships, :follower_id add_index :relationships, :followed_id add_index :relationships, [:follower_id, :followed_id], :unique => true
요렇게 db create할때 지정해서 듀플리케이트 레코드 방지할때 development에서 중복 레코드
인서트 시도할때 webbrick서버 뻗을수잇음.
카테고리 없음
add_index :relationships, :follower_id add_index :relationships, :followed_id add_index :relationships, [:follower_id, :followed_id], :unique => true
요렇게 db create할때 지정해서 듀플리케이트 레코드 방지할때 development에서 중복 레코드
인서트 시도할때 webbrick서버 뻗을수잇음.