Move extra bills to credit cards
This commit is contained in:
parent
c14a408f9a
commit
0887a5f6b9
38 changed files with 242 additions and 251 deletions
7
db/migrate/20230225002002_explicit_credit_card.rb
Normal file
7
db/migrate/20230225002002_explicit_credit_card.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue