]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_entry_subscription.rb
Bump eslint from 8.40.0 to 8.41.0
[rails.git] / app / models / diary_entry_subscription.rb
index 6d24c4598c42af2eb22c98732c05f605f1d6a166..ed6de79e45de20ff7fcbc648b845a9c0f12fe652 100644 (file)
@@ -2,8 +2,8 @@
 #
 # Table name: diary_entry_subscriptions
 #
 #
 # Table name: diary_entry_subscriptions
 #
-#  user_id        :integer          not null, primary key
-#  diary_entry_id :integer          not null, primary key
+#  user_id        :bigint(8)        not null, primary key
+#  diary_entry_id :bigint(8)        not null, primary key
 #
 # Indexes
 #
 #
 # Indexes
 #
@@ -15,7 +15,7 @@
 #  diary_entry_subscriptions_user_id_fkey         (user_id => users.id)
 #
 
 #  diary_entry_subscriptions_user_id_fkey         (user_id => users.id)
 #
 
-class DiaryEntrySubscription < ActiveRecord::Base
+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