Sha256: e6a05ccce4963eba0350dca7c4edfa88303d765760d48c5d208a0b848e53e76b
Contents?: true
Size: 388 Bytes
Versions: 13
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module Decidim class ReminderRecord < ApplicationRecord STATES = { active: 0, pending: 10, completed: 20, deleted: -1 }.freeze belongs_to :reminder, foreign_key: "decidim_reminder_id", class_name: "Decidim::Reminder" belongs_to :remindable, foreign_type: "remindable_type", polymorphic: true, optional: true enum state: STATES end end
Version data entries
13 entries across 13 versions & 1 rubygems