class AddPraisesCountForChallenges < ActiveRecord::Migration[5.2] def change add_column :challenges, :praises_count, :integer, :default => 0 end end