diff options
Diffstat (limited to 'db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb')
-rw-r--r-- | db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb b/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb new file mode 100644 index 00000000000..0e403dac24f --- /dev/null +++ b/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddRunnerRegistrationEnabledToProjectSettings < Gitlab::Database::Migration[2.1] + enable_lock_retries! + + def change + add_column :project_settings, :runner_registration_enabled, :boolean, default: true + end +end |