mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Refactored whois from domain into whois body
This commit is contained in:
parent
920b3e71e0
commit
3d0d98d9b1
7 changed files with 204 additions and 51 deletions
5
db/migrate/20150421134820_add_whosi_json_body.rb
Normal file
5
db/migrate/20150421134820_add_whosi_json_body.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddWhosiJsonBody < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :domains, :whois_json, :json
|
||||
end
|
||||
end
|
|
@ -298,6 +298,7 @@ ActiveRecord::Schema.define(version: 20150423083308) do
|
|||
t.integer "legacy_id"
|
||||
t.integer "legacy_registrar_id"
|
||||
t.integer "legacy_registrant_id"
|
||||
t.json "whois_json"
|
||||
end
|
||||
|
||||
add_index "domains", ["registrant_id"], name: "index_domains_on_registrant_id", using: :btree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue