[openstreetmap/openstreetmap-website] Modify the way "Friends" are added (PR #5261)
David Tsiklauri
notifications at github.com
Thu Jan 9 07:45:15 UTC 2025
@nertc commented on this pull request.
> + belongs_to :befriender, :class_name => "User", :foreign_key => :user_id, :inverse_of => :follows
+ belongs_to :befriendee, :class_name => "User", :foreign_key => :friend_user_id, :inverse_of => :follows
I tried to change as few things in DB as possible, but I agree with you. It will be changed in the next commit.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1908295318
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5261/review/2538944621 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250108/d92402c3/attachment-0001.htm>
More information about the rails-dev
mailing list