Fix Rubocop issues
This commit is contained in:
parent
a45008640f
commit
7f5d06b23c
27 changed files with 94 additions and 83 deletions
|
|
@ -2,7 +2,7 @@ class AddVisibleToTickets < ActiveRecord::Migration[5.0]
|
|||
def up
|
||||
add_column :tickets, :visible, :boolean, default: true
|
||||
Ticket.reset_column_information
|
||||
Ticket.update_all(visible: true) # rubocop:disable Rails/SkipsModelValidations
|
||||
Ticket.update_all(visible: true)
|
||||
end
|
||||
|
||||
def down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue