Commit 2fd34490 authored by Vijay Hawoldar's avatar Vijay Hawoldar

Adds dependency_proxy_size to namespace statistics

For storing the total dependency proxy storage size at the namespace
level

Changelog: added
parent 4d235c06
# frozen_string_literal: true
class AddDependencyProxySizeToNamespaceStatistics < Gitlab::Database::Migration[1.0]
def change
add_column :namespace_statistics, :dependency_proxy_size, :bigint, default: 0, null: false
end
end
18b3ef459c3633ebd4b418b4436d3d50b0dc697fa7c4ef4d2e1f62b01d656bce
\ No newline at end of file
......@@ -16541,7 +16541,8 @@ CREATE TABLE namespace_statistics (
shared_runners_seconds integer DEFAULT 0 NOT NULL,
shared_runners_seconds_last_reset timestamp without time zone,
storage_size bigint DEFAULT 0 NOT NULL,
wiki_size bigint DEFAULT 0 NOT NULL
wiki_size bigint DEFAULT 0 NOT NULL,
dependency_proxy_size bigint DEFAULT 0 NOT NULL
);
CREATE SEQUENCE namespace_statistics_id_seq
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment