debian-mirror-gitlab/db/migrate/20221101195903_change_email_confirmation_setting_default.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
227 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
class ChangeEmailConfirmationSettingDefault < Gitlab::Database::Migration[2.0]
def change
change_column_default(:application_settings, :email_confirmation_setting, from: 2, to: 0)
end
end