A platform for community discussion. Free, open, simple.
DEV: Ignore dropped Bookmark columns.
Alan Guo Xiang Tanf99ade3ce57d
diff --git a/app/models/bookmark.rb b/app/models/bookmark.rbindex cd54b4a851c..9798acafc53 100644--- a/app/models/bookmark.rb+++ b/app/models/bookmark.rb@@ -4,8 +4,10 @@ class Bookmark < ActiveRecord::Base# these columns were here for a very short amount of time,# hence the very short ignore timeself.ignored_columns = [- "bookmarkable_id", # TODO (martin) 2022-01-12 remove- "bookmarkable_type" # TODO (martin) 2022-01-12 remove+ "bookmarkable_id", # TODO 2022-04-01 remove+ "bookmarkable_type", # TODO 2022-04-01 remove+ "topic_id", # TODO 2022-04-01: remove+ "reminder_type" # TODO 2021-04-01: remove]belongs_to :user