2018-10-26 00:12:43 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-06 07:13:52 -04:00
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
module Model
|
|
|
|
def table_name_prefix
|
|
|
|
"ci_"
|
|
|
|
end
|
|
|
|
|
|
|
|
def model_name
|
2019-03-04 10:35:38 -05:00
|
|
|
@model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
|
2017-09-06 07:13:52 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|