mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
9 lines
425 B
Ruby
9 lines
425 B
Ruby
class AddDnskeySettings < ActiveRecord::Migration
|
|
def change
|
|
sg = SettingGroup.create(code: 'dnskeys')
|
|
sg.settings << Setting.create(code: Setting::DS_ALGORITHM, value: 1)
|
|
sg.settings << Setting.create(code: Setting::ALLOW_DS_DATA, value: 1)
|
|
sg.settings << Setting.create(code: Setting::ALLOW_DS_DATA_WITH_KEYS, value: 1)
|
|
sg.settings << Setting.create(code: Setting::ALLOW_KEY_DATA, value: 1)
|
|
end
|
|
end
|