class AddEnquiriesCounterToTags < ActiveRecord::Migration
  def change
    add_column :tags, :enquiries_count, :integer, default: 0
    add_index :tags, :enquiries_count
  end
end

Add enquiries_count field to tags table
Add enquiries_count field to tags table
