1
0
Fork 0
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:
Adrien Poly 2024-02-11 19:34:18 +01:00 committed by GitHub
parent c483153721
commit d3151be9ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -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