X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..67f28108ecbc5d5d9308a96e6056c9887027db7e:/app/models/diary_entry_subscription.rb diff --git a/app/models/diary_entry_subscription.rb b/app/models/diary_entry_subscription.rb index ed6de79e4..93b8847f4 100644 --- a/app/models/diary_entry_subscription.rb +++ b/app/models/diary_entry_subscription.rb @@ -16,8 +16,6 @@ # class DiaryEntrySubscription < ApplicationRecord - self.primary_keys = "user_id", "diary_entry_id" - belongs_to :user belongs_to :diary_entry end