DEV: Remove ignored columns (#16645)
Bookmark columns deleted inb22450c7a8
TopicTimer columns deleted ind098f51ad3
Upload columns deleted inef90575b91
This commit is contained in:
parent
9b2b0cad7c
commit
48481dd6ed
|
@ -1,13 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class 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_bookmarkables
|
||||
self.registered_bookmarkables = []
|
||||
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
class TopicTimer < ActiveRecord::Base
|
||||
MAX_DURATION_MINUTES = 20.years.to_i / 60
|
||||
|
||||
self.ignored_columns = [
|
||||
"duration" # TODO(2021-06-01): remove
|
||||
]
|
||||
|
||||
include Trashable
|
||||
|
||||
belongs_to :user
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
require "digest/sha1"
|
||||
|
||||
class Upload < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
"verified" # TODO(2020-12-10): remove
|
||||
]
|
||||
|
||||
include ActionView::Helpers::NumberHelper
|
||||
include HasUrl
|
||||
|
||||
|
|
Loading…
Reference in New Issue