X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..68abf2075b9efc652e19adeac2bbee9add99e455:/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