blob: cd048beac96a92481569287d1b43bcf122ad0478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
module Database
module Migrations
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
end
end
end
# rubocop:enable Naming/FileName
|