Tags and help links can be edited, but aren't used anywhere. Since we don't know what the intended behavior was, I'm removing them for now. My best guess is tags were supposed to be used so investments for a budget can only be assigned tags present in the budget. Achieving that behavior wouldn't be a trivial task.
7 lines
196 B
Ruby
7 lines
196 B
Ruby
class RemoveHelpLinkFromBudgets < ActiveRecord::Migration[5.0]
|
|
def change
|
|
remove_column :budgets, :help_link, :string
|
|
remove_column :tags, :budgets_count, :integer, default: 0
|
|
end
|
|
end
|