2021-12-11 22:18:48 +05:30
|
|
|
# rubocop:disable Naming/FileName
|
2021-03-11 19:13:27 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module Database
|
|
|
|
module Migrations
|
2023-04-23 21:23:45 +05:30
|
|
|
Observation = Struct.new(:version, :name, :walltime, :success, :total_database_size_change,
|
|
|
|
:meta, :query_statistics, keyword_init: true) do
|
|
|
|
def to_json(...)
|
|
|
|
as_json.except('meta').to_json(...)
|
|
|
|
end
|
|
|
|
end
|
2021-03-11 19:13:27 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2021-12-11 22:18:48 +05:30
|
|
|
|
|
|
|
# rubocop:enable Naming/FileName
|