gitlab-org--gitlab-foss/app/models/clusters/project.rb

9 lines
254 B
Ruby
Raw Normal View History

2017-10-23 08:36:35 +00:00
module Clusters
class Project < ActiveRecord::Base
self.table_name = 'cluster_projects'
belongs_to :cluster, inverse_of: :projects, class_name: 'Clusters::Cluster'
belongs_to :project, inverse_of: :project, class_name: 'Project'
end
end