Wednesday, July 15, 2026 12:54:07 AM
> user_notification_preference.rb
# frozen_string_literal: true

class UserNotificationPreference < ApplicationRecord
  attribute :user_id, :integer
  attribute :server_id, :integer
  attribute :base_raid, :boolean, default: true
  attribute :charge_plant_started, :boolean, default: true
  attribute :custom, :boolean, default: true
  attribute :flag_restored, :boolean, default: true
  attribute :flag_steal_started, :boolean, default: true
  attribute :flag_stolen, :boolean, default: true
  attribute :grind_started, :boolean, default: true
  attribute :hack_started, :boolean, default: true
  attribute :protection_money_due, :boolean, default: true
  attribute :protection_money_paid, :boolean, default: true

  belongs_to :user
  belongs_to :server
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7