debian-mirror-gitlab/db/migrate/20221227100908_add_allow_registration_token_to_namespace_settings.rb
2023-03-17 16:20:25 +05:30

10 lines
271 B
Ruby

# frozen_string_literal: true
class AddAllowRegistrationTokenToNamespaceSettings < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def change
add_column :namespace_settings, :allow_runner_registration_token, :boolean, default: true, null: false
end
end