Remove deprecated attributes from Investments
Some fields from Investment are deprecated and we no longer need them.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class RemoveDeprecatedFieldsFromBudgetInvestments < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
remove_column :budget_investments, :deprecated_title, :string
|
||||
remove_column :budget_investments, :deprecated_description, :text
|
||||
end
|
||||
end
|
||||
@@ -236,8 +236,6 @@ ActiveRecord::Schema.define(version: 20200908084257) do
|
||||
create_table "budget_investments", id: :serial, force: :cascade do |t|
|
||||
t.integer "author_id"
|
||||
t.integer "administrator_id"
|
||||
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