Move extra bills to credit cards

This commit is contained in:
Andrew Tomaka 2023-03-03 18:12:59 -05:00
parent c14a408f9a
commit 0887a5f6b9
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
38 changed files with 242 additions and 251 deletions

View file

@ -0,0 +1,7 @@
class ExplicitCreditCard < ActiveRecord::Migration[7.0]
def change
rename_column :expenses, :autopaid, :credit_card
rename_table :extra_bills, :credit_card_bills
remove_column :credit_card_bills, :deduct_autopaid
end
end