Ignore the notification_id column

This commit is contained in:
Andrei Prigorshnev 2023-12-08 23:18:36 +04:00
parent d075a79a9f
commit 773697df6a
No known key found for this signature in database
GPG Key ID: 185E0A5F45783902

View File

@ -3,6 +3,7 @@
module Chat
class Mention < ActiveRecord::Base
self.table_name = "chat_mentions"
self.ignored_columns = ["notification_id"]
belongs_to :user
belongs_to :chat_message, class_name: "Chat::Message"