-class AddCounterCaches < ActiveRecord::Migration
+class AddCounterCaches < ActiveRecord::Migration[5.0]
def self.up
add_column :users, :changesets_count, :integer, :null => false, :default => 0
add_column :users, :traces_count, :integer, :null => false, :default => 0