debian-mirror-gitlab/app/models/clusters/project.rb

9 lines
211 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
module Clusters
class Project < ActiveRecord::Base
self.table_name = 'cluster_projects'
belongs_to :cluster, class_name: 'Clusters::Cluster'
belongs_to :project, class_name: '::Project'
end
end