DEV: Remove ignored columns (#16645)

Bookmark columns deleted in b22450c7a8
TopicTimer columns deleted in d098f51ad3
Upload columns deleted in ef90575b91
This commit is contained in:
Martin Brennan 2022-05-05 12:22:17 +10:00 committed by GitHub
parent 9b2b0cad7c
commit 48481dd6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 15 deletions

View File

@ -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 = []

View File

@ -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

View File

@ -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