class AddColumnsIntoPurchaseDetails < ActiveRecord::Migration def change add_column :purchase_details, :tax, :decimal, null: false end end