class CreatePaymentInvoices < ActiveRecord::Migration[6.0]
  def change
    create_table :payment_invoices do |t|
      t.string :payment_status,:default => "new"
      t.datetime :invoiced_on
      t.integer :organisation_id
      t.integer :router_inventory_id 
      t.string :invoice_number 
      t.string  :stripeToken
      t.integer :purchase_order_id
      t.string :amount
      t.string :transcation_id
      t.string :failure_message

      t.timestamps
    end
  end
end
