mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "DEV: Remove stale ignored_columns from models."
This reverts commit 9f5c8644d0.
Have to revert because the ignored columns have not been dropped.
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user