Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb')
-rw-r--r--db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb b/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb
new file mode 100644
index 00000000000..e3592e0bd13
--- /dev/null
+++ b/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddSilentModeEnabledToApplicationSettings < Gitlab::Database::Migration[2.1]
+ def change
+ add_column :application_settings, :silent_mode_enabled, :boolean, default: false, null: false, if_not_exists: true
+ end
+end