debian-mirror-gitlab/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
2023-06-20 00:43:36 +05:30

9 lines
296 B
Ruby

# 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