mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
7 lines
305 B
Ruby
7 lines
305 B
Ruby
class AddDnskeyRangeValidation < ActiveRecord::Migration
|
|
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
|