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
ip_address :string
user_agent :string
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
Constant Summary
Constants included from Schedulable
Schedulable::SIMPLE_FORM_OPTIONS
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Instance Method Details
#communication_recipient ⇒ CommunicationRecipient
28 |
# File 'app/models/communication_recipient_email_link.rb', line 28 belongs_to :communication_recipient |
#email_link ⇒ EmailLink
29 |
# File 'app/models/communication_recipient_email_link.rb', line 29 belongs_to :email_link |