mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Use cached nameservers in zonefile procedure
This commit is contained in:
parent
e695a6e628
commit
b58417cbee
2 changed files with 21 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue