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

20151228175719_add_recaptcha_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: 259fd0248d2914c52f95a8353668458b8d0d9ce7 (plain)
1
2
3
4
5
6
7
8
9
class AddRecaptchaToApplicationSettings < ActiveRecord::Migration
  def change
    change_table :application_settings do |t|
      t.boolean :recaptcha_enabled, default: false
      t.string :recaptcha_site_key
      t.string :recaptcha_private_key
    end
  end
end