remove monetize helper from CreateFiatBalances migration
This commit is contained in:
@@ -3,7 +3,9 @@ class CreateFiatBalances < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table(:fiat_balances) do |t|
|
||||
t.references(:user, null: false, foreign_key: true)
|
||||
t.monetize(:amount)
|
||||
|
||||
t.integer(:amount_cents, null: false, default: 0)
|
||||
t.string(:amount_currency, null: false, default: "BRL")
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user