notification_permission.rb 468 B

12345678910111213141516
  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: notification_permissions
  5. #
  6. # id :bigint(8) not null, primary key
  7. # account_id :bigint(8) not null
  8. # from_account_id :bigint(8) not null
  9. # created_at :datetime not null
  10. # updated_at :datetime not null
  11. #
  12. class NotificationPermission < ApplicationRecord
  13. belongs_to :account
  14. belongs_to :from_account, class_name: 'Account'
  15. end