Remove deprecated attributes from Investments

Some fields from Investment are deprecated and we no longer need them.
This commit is contained in:
taitus
2020-08-31 13:25:02 +02:00
parent 1c8b5a05b5
commit e39b72d945
2 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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"