You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
468 B
17 lines
468 B
|
3 weeks ago
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
# == Schema Information
|
||
|
|
#
|
||
|
|
# Table name: notification_permissions
|
||
|
|
#
|
||
|
|
# id :bigint(8) not null, primary key
|
||
|
|
# account_id :bigint(8) not null
|
||
|
|
# from_account_id :bigint(8) not null
|
||
|
|
# created_at :datetime not null
|
||
|
|
# updated_at :datetime not null
|
||
|
|
#
|
||
|
|
class NotificationPermission < ApplicationRecord
|
||
|
|
belongs_to :account
|
||
|
|
belongs_to :from_account, class_name: 'Account'
|
||
|
|
end
|