98bb435f42
Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
10 lines
289 B
Ruby
10 lines
289 B
Ruby
# rubocop:disable all
|
|
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
|