gitlab-org--gitlab-foss/app/models/fork_network_member.rb

8 lines
208 B
Ruby
Raw Normal View History

class ForkNetworkMember < ActiveRecord::Base
belongs_to :fork_network
belongs_to :project
belongs_to :forked_from_project, class_name: 'Project'
validates :fork_network, :project, presence: true
end