Rename deprecated attributes in budget investments
To avoid deprecation warning thrown by Globalize after gem update. We are going to keep these attributes with different names until next release when we will be able to destroy them.
This commit is contained in:
committed by
voodoorai2000
parent
eefb9ca4f7
commit
66f885f8e4
@@ -0,0 +1,6 @@
|
||||
class RenameOldTranslatableAttibutesInBudgetInvestments < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
rename_column :budget_investments, :title, :deprecated_title
|
||||
rename_column :budget_investments, :description, :deprecated_description
|
||||
end
|
||||
end
|
||||
@@ -248,8 +248,8 @@ ActiveRecord::Schema.define(version: 20190607160900) do
|
||||
create_table "budget_investments", force: :cascade do |t|
|
||||
t.integer "author_id"
|
||||
t.integer "administrator_id"
|
||||
t.string "title"
|
||||
t.text "description"
|
||||
t.string "deprecated_title"
|
||||
t.text "deprecated_description"
|
||||
t.string "external_url"
|
||||
t.bigint "price"
|
||||
t.string "feasibility", limit: 15, default: "undecided"
|
||||
|
||||
Reference in New Issue
Block a user