mirror of
https://github.com/we-promise/sure.git
synced 2026-04-12 00:27:21 +00:00
8 lines
231 B
Ruby
8 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
|