mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Add basic storage for validation events
This commit is contained in:
parent
6675dac63d
commit
d4fe961e34
5 changed files with 123 additions and 0 deletions
|
@ -16,6 +16,7 @@ class Contact < ApplicationRecord
|
|||
has_many :domain_contacts
|
||||
has_many :domains, through: :domain_contacts
|
||||
has_many :legal_documents, as: :documentable
|
||||
has_many :validation_events, as: :validation_eventable
|
||||
has_many :registrant_domains, class_name: 'Domain', foreign_key: 'registrant_id'
|
||||
has_many :actions, dependent: :destroy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue