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