mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
5 lines
159 B
Ruby
5 lines
159 B
Ruby
class Referral < ApplicationRecord
|
|
belongs_to :referrer, class_name: User.name
|
|
belongs_to :referree, class_name: User.name, foreign_key: 'referred_id'
|
|
end
|