1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Update database migrations and strengthen db smoke tests (#462)

This commit is contained in:
Adrien Poly 2024-02-15 01:48:35 +01:00 committed by GitHub
parent 3ec9c9b56b
commit 093ddba28f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
class ReplaceMoneyField < ActiveRecord::Migration[7.2]
def change
add_column :accounts, :balance_cents
add_column :accounts, :balance_cents, :integer
change_column :accounts, :balance_cents, :integer, limit: 8
Account.reset_column_information