class CreateCollectSalaries < ActiveRecord::Migration
  def change
    create_table :collect_salaries do |t|
      t.belongs_to :user
      t.decimal :money, :precision => 10, :scale => 2
      t.date :collect_date
      t.string :notes
      t.timestamps null: false
    end
  end
end
