class AddColumnsToTrends < ActiveRecord::Migration
  def change
    add_column :trends, :tweet_count, :integer
    add_index :trends, :tweet_count
  end
end

class AddColumnsToTrends < ActiveRecord::Migration
  def change
    add_column :trends, :tweet_count, :integer, default: 0
    add_index :trends, :tweet_count
  end
end

Add default value to tweet_count column in trends
Add default value to tweet_count column in trends
