Use cached nameservers in zonefile procedure

This commit is contained in:
Martin Lensment 2014-11-26 15:05:10 +02:00
parent e695a6e628
commit b58417cbee
2 changed files with 21 additions and 22 deletions

View file

@ -1,5 +1,5 @@
class CreateNameserversCache < ActiveRecord::Migration
def change
def up
create_table :cached_nameservers, id: false do |t|
t.string :hostname
t.string :ipv4
@ -13,4 +13,8 @@ class CreateNameserversCache < ActiveRecord::Migration
);
SQL
end
def down
drop_table :cached_nameservers
end
end