class CreateDeposits < ActiveRecord::Migration[5.1]
  def change
    create_table :deposits do |t|
      t.decimal :amount, precision: 10, scale: 2
      t.date :deposit_date
      t.belongs_to :wallet, index: true, foreign_key: true

      t.timestamps
    end
  end
end
