Remove deprecated attributes from Budget::Group
Some fields from Budget::Group 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 RemoveDeprecatedTranslatableFieldsFromBudgetGroups < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
remove_column :budget_groups, :name, :string
|
||||
end
|
||||
end
|
||||
@@ -167,9 +167,8 @@ ActiveRecord::Schema.define(version: 20190607160900) do
|
||||
|
||||
create_table "budget_groups", force: :cascade do |t|
|
||||
t.integer "budget_id"
|
||||
t.string "name", limit: 50
|
||||
t.string "slug"
|
||||
t.integer "max_votable_headings", default: 1
|
||||
t.integer "max_votable_headings", default: 1
|
||||
t.index ["budget_id"], name: "index_budget_groups_on_budget_id", using: :btree
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user