Domain statuses import

This commit is contained in:
Martin Lensment 2015-03-04 13:37:20 +02:00 committed by Priit Tark
parent 888d38486f
commit b11c6cbc7c
8 changed files with 111 additions and 27 deletions

View file

@ -2,5 +2,8 @@ class AddLegacyColumnsForDomain < ActiveRecord::Migration
def change
add_column :domains, :legacy_id, :integer
add_column :nameservers, :legacy_domain_id, :integer
add_column :dnskeys, :legacy_domain_id, :integer
add_column :domain_contacts, :legacy_domain_id, :integer
add_column :domain_statuses, :legacy_domain_id, :integer
end
end

View file

@ -148,6 +148,7 @@ ActiveRecord::Schema.define(version: 20150330083700) do
t.string "ds_digest"
t.string "creator_str"
t.string "updator_str"
t.integer "legacy_domain_id"
end
create_table "domain_contacts", force: :cascade do |t|
@ -160,6 +161,7 @@ ActiveRecord::Schema.define(version: 20150330083700) do
t.string "creator_str"
t.string "updator_str"
t.string "type"
t.integer "legacy_domain_id"
end
create_table "domain_statuses", force: :cascade do |t|
@ -168,6 +170,7 @@ ActiveRecord::Schema.define(version: 20150330083700) do
t.string "value"
t.string "creator_str"
t.string "updator_str"
t.integer "legacy_domain_id"
end
create_table "domain_transfers", force: :cascade do |t|