internetee-registry/db/migrate/20140815110028_populate_settings.rb
2021-04-26 18:54:26 +05:00

11 lines
279 B
Ruby

class PopulateSettings < ActiveRecord::Migration[6.0]
def change
SettingGroup.create(
code: 'domain_validation',
settings: [
Setting.create(code: 'ns_min_count', value: 1),
Setting.create(code: 'ns_max_count', value: 13)
]
)
end
end