Sha256: 1830a11feee670231d80a2a064e5b5fd9a6776f73f482ff116fdf3b8341031bf

Contents?: true

Size: 513 Bytes

Versions: 25

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class Reminder < ApplicationRecord
    belongs_to :user, foreign_key: "decidim_user_id", class_name: "Decidim::User"
    belongs_to :component, foreign_key: "decidim_component_id", class_name: "Decidim::Component"
    has_many :records, foreign_key: "decidim_reminder_id", class_name: "Decidim::ReminderRecord", dependent: :destroy
    has_many :deliveries, foreign_key: "decidim_reminder_id", class_name: "Decidim::ReminderDelivery", dependent: :destroy
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/models/decidim/reminder.rb
decidim-core-0.28.4 app/models/decidim/reminder.rb
decidim-core-0.27.9 app/models/decidim/reminder.rb
decidim-core-0.29.0 app/models/decidim/reminder.rb
decidim-core-0.28.3 app/models/decidim/reminder.rb
decidim-core-0.27.8 app/models/decidim/reminder.rb
decidim-core-0.29.0.rc4 app/models/decidim/reminder.rb
decidim-core-0.29.0.rc3 app/models/decidim/reminder.rb
decidim-core-0.29.0.rc2 app/models/decidim/reminder.rb
decidim-core-0.29.0.rc1 app/models/decidim/reminder.rb
decidim-core-0.28.2 app/models/decidim/reminder.rb
decidim-core-0.27.7 app/models/decidim/reminder.rb
decidim-core-0.28.1 app/models/decidim/reminder.rb
decidim-core-0.27.6 app/models/decidim/reminder.rb
decidim-core-0.28.0 app/models/decidim/reminder.rb
decidim-core-0.27.5 app/models/decidim/reminder.rb
decidim-core-0.28.0.rc5 app/models/decidim/reminder.rb
decidim-core-0.28.0.rc4 app/models/decidim/reminder.rb
decidim-core-0.27.4 app/models/decidim/reminder.rb
decidim-core-0.27.3 app/models/decidim/reminder.rb