]> git.openstreetmap.org Git - rails.git/blob - app/models/diary_entry_subscription.rb
Merge remote-tracking branch 'upstream/pull/4923'
[rails.git] / app / models / diary_entry_subscription.rb
1 # == Schema Information
2 #
3 # Table name: diary_entry_subscriptions
4 #
5 #  user_id        :bigint(8)        not null, primary key
6 #  diary_entry_id :bigint(8)        not null, primary key
7 #
8 # Indexes
9 #
10 #  index_diary_entry_subscriptions_on_diary_entry_id  (diary_entry_id)
11 #
12 # Foreign Keys
13 #
14 #  diary_entry_subscriptions_diary_entry_id_fkey  (diary_entry_id => diary_entries.id)
15 #  diary_entry_subscriptions_user_id_fkey         (user_id => users.id)
16 #
17
18 class DiaryEntrySubscription < ApplicationRecord
19   belongs_to :user
20   belongs_to :diary_entry
21 end