2021-08-03 02:08:50 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Ci
|
|
|
|
class ApplicationRecord < ::ApplicationRecord
|
2021-08-20 08:09:31 -04:00
|
|
|
self.gitlab_schema = :gitlab_ci
|
2021-08-03 02:08:50 -04:00
|
|
|
self.abstract_class = true
|
|
|
|
|
|
|
|
def self.table_name_prefix
|
|
|
|
'ci_'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.model_name
|
|
|
|
@model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|