class RenameColumnsInCashOut < ActiveRecord::Migration def change remove_column :cash_outs, :received_by add_column :cash_outs, :received_by, :integer, index: true, null: true end end