# diary_entry_subscriptions_user_id_fkey (user_id => users.id)
#
-class DiaryEntrySubscription < ActiveRecord::Base
- self.primary_keys = "user_id", "diary_entry_id"
-
+class DiaryEntrySubscription < ApplicationRecord
belongs_to :user
belongs_to :diary_entry
end