summaryrefslogtreecommitdiff
path: root/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_appl...
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-05 03:08:20 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-05 03:08:20 +0000
commitb2814abdec5fc79e34936d651e7e7fc68858237f (patch)
tree4b57ecd36c51ce564e8105b3938af7192e02fccc /db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
parent92a2c36b8cbbe4a7c0991312c28aa088a15201e6 (diff)
downloadgitlab-ce-b2814abdec5fc79e34936d651e7e7fc68858237f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb')
-rw-r--r--db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb b/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
new file mode 100644
index 00000000000..136855403f9
--- /dev/null
+++ b/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+class AddDatabaseMaxRunningBatchedBackgroundMigrationsToApplicationSettings < Gitlab::Database::Migration[2.1]
+ def change
+ add_column :application_settings, :database_max_running_batched_background_migrations,
+ :integer, null: false, default: 2
+ end
+end