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

20171106133911_add_password_authentication_enabled_for_git_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: 1f96a0426a17f3619720f689989cbc07d03e6df8 (plain)
1
2
3
4
5
6
7
8
9
class AddPasswordAuthenticationEnabledForGitToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings, :password_authentication_enabled_for_git, :boolean, default: true, null: false
  end
end