Remove registrant_verifications.domain_name database column

It is not used nor needed.
This commit is contained in:
Artur Beljajev 2019-12-06 20:47:57 +02:00
parent b4be9e7f00
commit 6fd172adbb
7 changed files with 8 additions and 7 deletions

View file

@ -11,7 +11,7 @@ class RegistrantVerification < ApplicationRecord
belongs_to :domain
validates :verification_token, :domain_name, :domain, :action, :action_type, presence: true
validates :verification_token, :domain, :action, :action_type, presence: true
def domain_registrant_change_confirm!(initiator)
self.action_type = DOMAIN_REGISTRANT_CHANGE