Remove deprecated attributes from Budget::Phase

Some fields from Budget::Phase are translatable and we no longer need them. This commit will remove the annoying deprecation warning thrown by Globalize gem after gem version update.
This commit is contained in:
taitus
2019-03-25 19:58:56 +01:00
committed by voodoorai2000
parent 3b81bf67d1
commit 5343448c5a
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
class RemoveDeprecatedTranslatableFieldsFromBudgetPhases < ActiveRecord::Migration[4.2]
def change
remove_column :budget_phases, :summary, :text
remove_column :budget_phases, :description, :text
end
end

View File

@@ -297,8 +297,6 @@ ActiveRecord::Schema.define(version: 20190607160900) do
t.integer "budget_id"
t.integer "next_phase_id"
t.string "kind", null: false
t.text "summary"
t.text "description"
t.datetime "starts_at"
t.datetime "ends_at"
t.boolean "enabled", default: true