diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-28 23:21:34 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-28 23:50:29 +0300 |
commit | a3469d914aaf28a1184247cbe72e5197ce7ca006 (patch) | |
tree | 8bc68cf4adf391142bcfa8bf2cc7a3d7a572ead2 /db/migrate | |
parent | af00558d38806eda2fa70c8fdc34be98fced44a4 (diff) |
reCAPTCHA is configurable through Admin Settings, no reload needed.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20151228175719_add_recaptcha_to_application_settings.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20151228175719_add_recaptcha_to_application_settings.rb b/db/migrate/20151228175719_add_recaptcha_to_application_settings.rb new file mode 100644 index 00000000000..259fd0248d2 --- /dev/null +++ b/db/migrate/20151228175719_add_recaptcha_to_application_settings.rb @@ -0,0 +1,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 |