Import nameservers with domains

This commit is contained in:
Martin Lensment 2015-03-03 17:21:29 +02:00 committed by Priit Tark
parent 41b51455cf
commit 888d38486f
9 changed files with 73 additions and 4 deletions

View file

@ -1,6 +1,6 @@
class AddLegacyColumnsForDomain < ActiveRecord::Migration
def change
add_column :domains, :legacy_id, :integer
add_column :nameservers, :legacy_id, :integer
add_column :nameservers, :legacy_domain_id, :integer
end
end

View file

@ -570,7 +570,7 @@ ActiveRecord::Schema.define(version: 20150330083700) do
t.integer "domain_id"
t.string "creator_str"
t.string "updator_str"
t.integer "legacy_id"
t.integer "legacy_domain_id"
end
create_table "registrars", force: :cascade do |t|