Registrant change now requires EPP verify attribute

This commit is contained in:
Priit Tark 2015-05-18 14:48:32 +03:00
parent 7d0365974e
commit d72cbc20f5
21 changed files with 318 additions and 29 deletions

View file

@ -0,0 +1,5 @@
class AddPendingRequests < ActiveRecord::Migration
def change
add_column :domains, :pending_json, :json
end
end

View file

@ -0,0 +1,10 @@
class AddRegistrantVerifications < ActiveRecord::Migration
def change
create_table :registrant_verifications do |t|
t.string :domain_name
t.string :verification_token
t.timestamps
end
add_index :registrant_verifications, :created_at
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150514132606) do
ActiveRecord::Schema.define(version: 20150518084324) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -302,6 +302,7 @@ ActiveRecord::Schema.define(version: 20150514132606) do
t.datetime "delete_at"
t.datetime "registrant_verification_asked_at"
t.string "registrant_verification_token"
t.json "pending_json"
end
add_index "domains", ["delete_at"], name: "index_domains_on_delete_at", using: :btree
@ -839,6 +840,15 @@ ActiveRecord::Schema.define(version: 20150514132606) do
add_index "nameservers", ["domain_id"], name: "index_nameservers_on_domain_id", using: :btree
create_table "registrant_verifications", force: :cascade do |t|
t.string "domain_name"
t.string "verification_token"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "registrant_verifications", ["created_at"], name: "index_registrant_verifications_on_created_at", using: :btree
create_table "registrars", force: :cascade do |t|
t.string "name"
t.string "reg_no"