There are some rules which only affect migration files, and we cannot enable them if we're excluding those files from being inspected. We're also changing migrations related to the Rails/TimeZone rule slightly because these fields were already changed afterwards, so we aren't changing the schema.
6 lines
129 B
Ruby
6 lines
129 B
Ruby
class AddValueToPollAnswers < ActiveRecord::Migration[5.0]
|
|
def change
|
|
add_column :poll_answers, :value, :integer
|
|
end
|
|
end
|