class CreatePurchaseOrders < ActiveRecord::Migration[6.0]
  def change
    create_table :purchase_orders do |t|
      t.string :payment_status,:default => "new"
      t.integer :organisation_id
	  	t.integer :router_inventory_id
      t.integer :sim_rate_plan_id
      t.string :mac_id
      t.string :amount
	    t.string :imei 
      t.string :plan_description 
      t.boolean :auto_recharge

      t.timestamps
    end
  end
end
