mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Make categories global (#1160)
* Make categories global This solves us A LOT of cash flow and budgeting problems. * Update schema.rb * Update auto_categorizer.rb * Update income_statement.rb * FIX budget sub-categories * FIX sub-categories and tests * Add 2 step migration
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class RemoveClassificationFromCategories < ActiveRecord::Migration[7.2]
|
||||
def up
|
||||
rename_column :categories, :classification, :classification_unused
|
||||
end
|
||||
|
||||
def down
|
||||
rename_column :categories, :classification_unused, :classification
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user