Remove deprecated attributes from Budget::Heading
Some fields from Budget::Heading 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,5 @@
|
||||
class RemoveDeprecatedTranslatableFieldsFromBudgetHeadings < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
remove_column :budget_headings, :name, :string
|
||||
end
|
||||
end
|
||||
@@ -184,11 +184,10 @@ ActiveRecord::Schema.define(version: 20190607160900) do
|
||||
|
||||
create_table "budget_headings", force: :cascade do |t|
|
||||
t.integer "group_id"
|
||||
t.string "name", limit: 50
|
||||
t.bigint "price"
|
||||
t.integer "population"
|
||||
t.string "slug"
|
||||
t.boolean "allow_custom_content", default: false
|
||||
t.boolean "allow_custom_content", default: false
|
||||
t.text "latitude"
|
||||
t.text "longitude"
|
||||
t.index ["group_id"], name: "index_budget_headings_on_group_id", using: :btree
|
||||
|
||||
Reference in New Issue
Block a user