forgeplus/app/models/fork_user.rb

7 lines
163 B
Ruby
Raw Normal View History

class ForkUser < ApplicationRecord
belongs_to :project
belongs_to :user
belongs_to :fork_project, class_name: 'ForkUser', foreign_key: :fork_project_id
end