Closed xilefff closed 6 years ago
@chevinbrown what do you think? :)
@xilefff looks much better! Will this run if indices exist? My only other concern is that some users of this gem may have added those on their own. unless index_exists? (:friendable_id, :friend_id)
Right, just added!
My pleasure! Thank you! :)
We'll bump the version and release after Thanksgiving.
Adds concurrently unique index between friendable_id and friend_id to prevent duplicate friendships.