mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
fix migration and add smoke test for migrations (#438)
* adds a smoke test in the CI for the migration * add back money rails gem * really remove money-rails * update the migration to remove add_monetize
This commit is contained in:
parent
c483153721
commit
d3151be9ae
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
class ReplaceMoneyField < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_monetize :accounts, :balance
|
||||
add_column :accounts, :balance_cents
|
||||
change_column :accounts, :balance_cents, :integer, limit: 8
|
||||
|
||||
Account.reset_column_information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue