Attach nameservers directly to domain

This commit is contained in:
Martin Lensment 2014-07-31 11:21:22 +03:00
parent 7a9988236e
commit 4396ec665c
6 changed files with 19 additions and 5 deletions

View file

@ -0,0 +1,8 @@
class AddNameserversToDomain < ActiveRecord::Migration
def change
create_table :domains_nameservers do |t|
t.integer :domain_id
t.integer :nameserver_id
end
end
end