Merge pull request #1431 from internetee/remove-unused-db-column

Remove `registrant_verifications.domain_name` database column
This commit is contained in:
Timo Võhmar 2019-12-12 12:35:44 +02:00 committed by GitHub
commit 2547ce6eba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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