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:
Alan Guo Xiang Tan
2022-01-11 10:57:21 +08:00
parent c2afc3915b
commit 6fb89c153a
13 changed files with 51 additions and 0 deletions

View File

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