A platform for community discussion. Free, open, simple.
DEV: Remove ignored columns (#16645)
Martin Brennan48481dd6edc5
diff --git a/app/models/bookmark.rb b/app/models/bookmark.rbindex aa48363ac6a..54dc9534512 100644--- a/app/models/bookmark.rb+++ b/app/models/bookmark.rb@@ -1,13 +1,6 @@# frozen_string_literal: trueclass Bookmark < ActiveRecord::Base- # these columns were here for a very short amount of time,- # hence the very short ignore time- self.ignored_columns = [- "topic_id", # TODO 2022-04-01: remove- "reminder_type" # TODO 2021-04-01: remove- ]-cattr_accessor :registered_bookmarkablesself.registered_bookmarkables = []diff --git a/app/models/topic_timer.rb b/app/models/topic_timer.rbindex 2a9a690adef..5e80b5d4edd 100644--- a/app/models/topic_timer.rb+++ b/app/models/topic_timer.rb@@ -3,10 +3,6 @@class TopicTimer < ActiveRecord::BaseMAX_DURATION_MINUTES = 20.years.to_i / 60- self.ignored_columns = [- "duration" # TODO(2021-06-01): remove- ]-include Trashablebelongs_to :userdiff --git a/app/models/upload.rb b/app/models/upload.rbindex ff2aafa16e7..2ac393401cd 100644--- a/app/models/upload.rb+++ b/app/models/upload.rb@@ -3,10 +3,6 @@require "digest/sha1"class Upload < ActiveRecord::Base- self.ignored_columns = [- "verified" # TODO(2020-12-10): remove- ]-include ActionView::Helpers::NumberHelperinclude HasUrl