Class: CommunicationRecipientEmailLink
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- CommunicationRecipientEmailLink
- Defined in:
- app/models/communication_recipient_email_link.rb
Overview
== Schema Information
Table name: communication_recipients_email_links
Database name: primary
id :bigint not null, primary key
created_at :datetime
communication_recipient_id :integer not null
email_link_id :integer not null
Indexes
index_communication_recipients_email_links (communication_recipient_id,email_link_id)
index_communication_recipients_email_links_on_created_at (created_at) USING brin
index_communication_recipients_email_links_on_email_link_id (email_link_id)
Foreign Keys
fk_rails_... (communication_recipient_id => communication_recipients.id) ON DELETE => cascade
fk_rails_... (email_link_id => email_links.id) ON DELETE => cascade
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#communication_recipient ⇒ CommunicationRecipient
26 |
# File 'app/models/communication_recipient_email_link.rb', line 26 belongs_to :communication_recipient |
#email_link ⇒ EmailLink
27 |
# File 'app/models/communication_recipient_email_link.rb', line 27 belongs_to :email_link |