mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
6 lines
177 B
Ruby
6 lines
177 B
Ruby
class FollowRelation < ActiveRecord::Base
|
|
|
|
belongs_to :star, class_name: "User", foreign_key: "star_id"
|
|
belongs_to :follower, class_name: "User", foreign_key: "user_id"
|
|
end
|