-class AddCounterCaches < ActiveRecord::Migration
+class AddCounterCaches < ActiveRecord::Migration[4.2]
+ class Changeset < ActiveRecord::Base
+ end
+
+ class Trace < ActiveRecord::Base
+ self.table_name = "gpx_files"
+ end
+
def self.up
add_column :users, :changesets_count, :integer, :null => false, :default => 0
add_column :users, :traces_count, :integer, :null => false, :default => 0