mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
7 lines
310 B
Ruby
7 lines
310 B
Ruby
class AddDnskeyRangeValidation < ActiveRecord::Migration[6.0]
|
|
def change
|
|
sg = SettingGroup.find_by(code: 'domain_validation')
|
|
sg.settings << Setting.create(code: 'dnskeys_min_count'.underscore, value: '0')
|
|
sg.settings << Setting.create(code: 'dnskeys_max_count'.underscore, value: '9')
|
|
end
|
|
end
|