20160121011332_create_inventories.rb 279 B

1234567891011
  1. class CreateInventories < ActiveRecord::Migration
  2. def change
  3. create_table :inventories do |t|
  4. t.belongs_to :pointsale, index: true
  5. t.belongs_to :user, index: true
  6. t.date :inventory_date
  7. t.text :notes
  8. t.timestamps null: false
  9. end
  10. end
  11. end