Fix Rubocop issues
This commit is contained in:
parent
f67c4aafe0
commit
21e282679f
17 changed files with 50 additions and 33 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