Commit fd7c57b7 authored by Patrick Bair's avatar Patrick Bair

Merge branch 'add-nrss-notification-levels-migration' into 'master'

Add notification_level Column to namespace_root_storage_statistics Table

See merge request gitlab-org/gitlab!83338
parents 225c2f91 ff6267cb
# 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