Commit ff6267cb authored by Jason Goodman's avatar Jason Goodman Committed by Patrick Bair

Add notification_level to namespace_root_storage_statistics table

Changelog: added
parent f8a77af7
# frozen_string_literal: true
class AddNotificationLevelToNamespaceRootStorageStatistics < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def up
add_column :namespace_root_storage_statistics, :notification_level, :integer, limit: 2, default: 100, null: false
end
def down
remove_column :namespace_root_storage_statistics, :notification_level
end
end
0bd78ce207cca13b5c4557ace87c135972ed69cd05ee8c6fcc60a9c060ba8b5f
\ No newline at end of file
......@@ -17331,7 +17331,8 @@ CREATE TABLE namespace_root_storage_statistics (
snippets_size bigint DEFAULT 0 NOT NULL,
pipeline_artifacts_size bigint DEFAULT 0 NOT NULL,
uploads_size bigint DEFAULT 0 NOT NULL,
dependency_proxy_size bigint DEFAULT 0 NOT NULL
dependency_proxy_size bigint DEFAULT 0 NOT NULL,
notification_level smallint DEFAULT 100 NOT NULL
);
CREATE TABLE namespace_settings (
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