20160427192007_create_cash_out_details.rb 284 B

12345678910
  1. class CreateCashOutDetails < ActiveRecord::Migration
  2. def change
  3. create_table :cash_out_details do |t|
  4. t.belongs_to :cash_out, index: true
  5. t.belongs_to :payment_method, index: true
  6. t.decimal :amount, null: false
  7. t.timestamps null: false
  8. end
  9. end
  10. end