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