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

20201107032257_add_default_true_require_admin_approval_after_user_signup_to_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 196f7bd8359ef26f5cb3f7ccb3101a48da4dd5c8 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class AddDefaultTrueRequireAdminApprovalAfterUserSignupToApplicationSettings < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    change_column_default :application_settings, :require_admin_approval_after_user_signup, from: false, to: true
  end
end