]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_entry_subscription.rb
Delete sotmlatam-2016.jpg
[rails.git] / app / models / diary_entry_subscription.rb
index b0a563ea866dcd74b0ee583da874d423216dff0c..8b96f60743fbedd5ca1b4acda887d248c0dce86e 100644 (file)
@@ -1,4 +1,6 @@
 class DiaryEntrySubscription < ActiveRecord::Base
+  self.primary_keys = "user_id", "diary_entry_id"
+
   belongs_to :user
   belongs_to :diary_entry
 end