2019-06-20 22:47:39 +02:00
|
|
|
class CreateMoneyMoves < ActiveRecord::Migration[5.2]
|
|
|
|
|
def change
|
|
|
|
|
create_table :money_moves do |t|
|
|
|
|
|
t.text :description
|
|
|
|
|
t.decimal :amount, precision: 12, scale: 3
|
2020-05-18 11:35:34 +02:00
|
|
|
t.integer :homie_id, null: false
|
2019-06-20 22:47:39 +02:00
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|