2020-05-15 17:05:53 +08:00
|
|
|
class ForkUser < ApplicationRecord
|
2020-08-29 12:07:06 +08:00
|
|
|
belongs_to :project
|
2020-05-15 17:05:53 +08:00
|
|
|
belongs_to :user
|
2020-08-29 12:07:06 +08:00
|
|
|
belongs_to :fork_project, class_name: 'ForkUser', foreign_key: :fork_project_id
|
|
|
|
|
2020-05-15 17:05:53 +08:00
|
|
|
end
|