2013-03-19 11:37:50 -04:00
|
|
|
class ForkedProjectLink < ActiveRecord::Base
|
2017-07-03 06:31:37 -04:00
|
|
|
belongs_to :forked_to_project, -> { where.not(pending_delete: true) }, class_name: 'Project'
|
|
|
|
belongs_to :forked_from_project, -> { where.not(pending_delete: true) }, class_name: 'Project'
|
2013-03-19 11:37:50 -04:00
|
|
|
end
|