# frozen_string_literal: true

class CorrectCountsOnPosts < ActiveRecord::Migration[4.2]
  def change
    rename_column :posts, :custom_flag_count, :notify_moderators_count
    add_column :posts, :notify_user_count, :integer, default: 0, null: false
  end
end
