Ignore unused polls and poll_options columns (#6945)
This commit is contained in:
parent
01465efcb2
commit
1dcc9ff189
2 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
class Poll < ApplicationRecord
|
||||
self.ignored_columns = %w[
|
||||
allow_multiple_selections
|
||||
]
|
||||
|
||||
attr_accessor :poll_options_input_array
|
||||
|
||||
serialize :voting_data
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
class PollOption < ApplicationRecord
|
||||
self.ignored_columns = %w[
|
||||
counts_in_tabulation
|
||||
]
|
||||
|
||||
belongs_to :poll
|
||||
has_many :poll_votes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue