X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb4ea1a02ac5dc1b0ef444e0d63fafa8f756fa8d..551e4295c0c994fd28973a4b02f56befbd25aaa9:/app/models/diary_entry_subscription.rb diff --git a/app/models/diary_entry_subscription.rb b/app/models/diary_entry_subscription.rb index 8b96f6074..6e9a103ad 100644 --- a/app/models/diary_entry_subscription.rb +++ b/app/models/diary_entry_subscription.rb @@ -1,3 +1,20 @@ +# == Schema Information +# +# Table name: diary_entry_subscriptions +# +# user_id :bigint(8) not null, primary key +# diary_entry_id :bigint(8) not null, primary key +# +# Indexes +# +# index_diary_entry_subscriptions_on_diary_entry_id (diary_entry_id) +# +# Foreign Keys +# +# diary_entry_subscriptions_diary_entry_id_fkey (diary_entry_id => diary_entries.id) +# diary_entry_subscriptions_user_id_fkey (user_id => users.id) +# + class DiaryEntrySubscription < ActiveRecord::Base self.primary_keys = "user_id", "diary_entry_id"