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

11 lines
242 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-10-23 08:36:35 +00:00
module Clusters
class Project < ActiveRecord::Base
self.table_name = 'cluster_projects'
2017-10-29 18:48:45 +00:00
belongs_to :cluster, class_name: 'Clusters::Cluster'
belongs_to :project, class_name: '::Project'
2017-10-23 08:36:35 +00:00
end
end