Refactor zones

- Rename "zonefile_setting" to "zone"
- Remove version

#475
This commit is contained in:
Artur Beljajev 2017-04-20 17:20:36 +03:00
parent f1d7e53734
commit bff7437277
51 changed files with 425 additions and 389 deletions

View file

@ -34,7 +34,7 @@ ActiveRecord::Base.transaction do
roles: ['admin']
)
ZonefileSetting.create!(
DNS::Zone.create!(
origin: 'tld',
ttl: 43200,
refresh: 3600,