#
# Table name: diary_entry_subscriptions
#
-# user_id :bigint(8) not null, primary key
-# diary_entry_id :bigint(8) not null, primary key
+# user_id :bigint not null, primary key
+# diary_entry_id :bigint not null, primary key
#
# Indexes
#
#
class DiaryEntrySubscription < ApplicationRecord
- self.primary_keys = "user_id", "diary_entry_id"
-
belongs_to :user
belongs_to :diary_entry
end