mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Fix typo in setting key
This commit is contained in:
parent
3a0112beca
commit
2ef430a877
5 changed files with 26 additions and 15 deletions
11
db/data/20200911104302_fix_typo_in_setting_name.rb
Normal file
11
db/data/20200911104302_fix_typo_in_setting_name.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class FixTypoInSettingName < ActiveRecord::Migration[6.0]
|
||||
def up
|
||||
setting = Setting.find_by(code: 'request_confrimation_on_registrant_change_enabled')
|
||||
setting.update(code: 'request_confirmation_on_registrant_change_enabled')
|
||||
end
|
||||
|
||||
def down
|
||||
setting = Setting.find_by(code: 'request_confirmation_on_registrant_change_enabled')
|
||||
setting.update(code: 'request_confrimation_on_registrant_change_enabled')
|
||||
end
|
||||
end
|
|
@ -26,7 +26,7 @@ ActiveRecord::Base.transaction do
|
|||
SettingEntry.create(code: 'client_side_status_editing_enabled', value: 'false', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'api_ip_whitelist_enabled', value: 'false', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'registrar_ip_whitelist_enabled', value: 'false', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'request_confrimation_on_registrant_change_enabled', value: 'true', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'request_confirmation_on_registrant_change_enabled', value: 'true', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'request_confirmation_on_domain_deletion_enabled', value: 'true', format: 'boolean', group: 'other')
|
||||
SettingEntry.create(code: 'default_language', value: 'en', format: 'string', group: 'other')
|
||||
SettingEntry.create(code: 'invoice_number_min', value: '131050', format: 'integer', group: 'billing')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue