Fix deprecation issues with has_paper_trail

This commit is contained in:
Karl Erik Õunapuu 2020-06-01 16:11:20 +03:00
parent 602cf78dfe
commit 7580824a38
3 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,8 @@
# Used in Registrant portal to collect registrant verifications
# Registrant postgres user can access this table directly.
class RegistrantVerification < ApplicationRecord
has_paper_trail class_name: 'RegistrantVerificationVersion'
has_paper_trail versions: { class_name: 'RegistrantVerificationVersion' }
# actions
CONFIRMED = 'confirmed'