Commit fc572400 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'vij-add-dp-size-column-ns' into 'master'

Adds dependency_proxy_size to namespace statistics

See merge request gitlab-org/gitlab!78560
parents 52f5ada8 2fd34490
# 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
......@@ -16544,7 +16544,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