mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
DEV: Remove stale ignored_columns. (#11160)
This commit is contained in:

committed by
GitHub

parent
43df3348b7
commit
0e4d966a74
@ -1,11 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class PostReply < ActiveRecord::Base
|
class PostReply < ActiveRecord::Base
|
||||||
# TODO(2020-01-17): remove
|
|
||||||
self.ignored_columns = %w{
|
|
||||||
reply_id
|
|
||||||
}
|
|
||||||
|
|
||||||
belongs_to :post
|
belongs_to :post
|
||||||
belongs_to :reply, foreign_key: :reply_post_id, class_name: 'Post'
|
belongs_to :reply, foreign_key: :reply_post_id, class_name: 'Post'
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class UserEmail < ActiveRecord::Base
|
class UserEmail < ActiveRecord::Base
|
||||||
# TODO(2020-04-24): remove
|
|
||||||
self.ignored_columns = ['canonical_email']
|
|
||||||
|
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
|
|
||||||
attr_accessor :skip_validate_email
|
attr_accessor :skip_validate_email
|
||||||
|
Reference in New Issue
Block a user