budget/db/migrate/20230225002002_explicit_credit_card.rb

8 lines
237 B
Ruby
Raw Normal View History

2023-03-03 18:12:59 -05:00
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