internetee-registry/db/migrate/20140815110028_populate_settings.rb
2014-08-25 14:14:25 +03:00

11 lines
274 B
Ruby

class PopulateSettings < ActiveRecord::Migration
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