15 lines
267 B
Ruby
15 lines
267 B
Ruby
module Ci
|
|
class Cluster < ActiveRecord::Base
|
|
extend Gitlab::Ci::Model
|
|
|
|
belongs_to :project
|
|
belongs_to :owner, class_name: 'User'
|
|
belongs_to :service
|
|
|
|
enum creation_type: {
|
|
unknown: nil,
|
|
on_gke: 1,
|
|
manual: 2
|
|
}
|
|
end
|
|
end
|