mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Registrant change now requires EPP verify attribute
This commit is contained in:
parent
7d0365974e
commit
d72cbc20f5
21 changed files with 318 additions and 29 deletions
5
db/migrate/20150515103222_add_pending_requests.rb
Normal file
5
db/migrate/20150515103222_add_pending_requests.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddPendingRequests < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :domains, :pending_json, :json
|
||||
end
|
||||
end
|
10
db/migrate/20150518084324_add_registrant_verifications.rb
Normal file
10
db/migrate/20150518084324_add_registrant_verifications.rb
Normal 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
|
12
db/schema.rb
12
db/schema.rb
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue