mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Fix double versioning on Domain & Contact models
This commit is contained in:
parent
bf67180bce
commit
a1651ca1b9
8 changed files with 31 additions and 10 deletions
|
@ -14,8 +14,6 @@ class Contact < ApplicationRecord
|
|||
has_many :registrant_domains, class_name: 'Domain', foreign_key: 'registrant_id'
|
||||
has_many :actions, dependent: :destroy
|
||||
|
||||
has_paper_trail class_name: "ContactVersion", meta: { children: :children_log }
|
||||
|
||||
attr_accessor :legal_document_id
|
||||
alias_attribute :kind, :ident_type
|
||||
alias_attribute :copy_from_id, :original_id # Old attribute name; for PaperTrail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue