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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user