]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_entry_subscription.rb
Update to rails 6.1.4.2
[rails.git] / app / models / diary_entry_subscription.rb
index 8b96f60743fbedd5ca1b4acda887d248c0dce86e..ed6de79e45de20ff7fcbc648b845a9c0f12fe652 100644 (file)
@@ -1,4 +1,21 @@
-class DiaryEntrySubscription < ActiveRecord::Base
+# == 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 < ApplicationRecord
   self.primary_keys = "user_id", "diary_entry_id"
 
   belongs_to :user
   self.primary_keys = "user_id", "diary_entry_id"
 
   belongs_to :user