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