Files
old-roraccounting/db/migrate/20190620200006_create_money_moves.rb
2020-05-18 11:35:34 +02:00

11 lines
255 B
Ruby

class CreateMoneyMoves < ActiveRecord::Migration[5.2]
def change
create_table :money_moves do |t|
t.text :description
t.decimal :amount, precision: 12, scale: 3
t.integer :homie_id, null: false
t.timestamps
end
end
end