BigW Consortium Gitlab

forked_project_link.rb 467 Bytes
Newer Older
Dmitriy Zaporozhets committed
1 2 3 4 5 6 7
# == Schema Information
#
# Table name: forked_project_links
#
#  id                     :integer          not null, primary key
#  forked_to_project_id   :integer          not null
#  forked_from_project_id :integer          not null
Dmitriy Zaporozhets committed
8 9
#  created_at             :datetime
#  updated_at             :datetime
Dmitriy Zaporozhets committed
10 11
#

12 13 14 15
class ForkedProjectLink < ActiveRecord::Base
  belongs_to :forked_to_project, class_name: Project
  belongs_to :forked_from_project, class_name: Project
end