mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 23:59:40 +02:00
7 lines
231 B
Ruby
7 lines
231 B
Ruby
class ReplaceMoneyField < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :accounts, :balance_cents, :integer
|
|
change_column :accounts, :balance_cents, :integer, limit: 8
|
|
remove_column :accounts, :balance
|
|
end
|
|
end
|