Rename image_description column to image_title on budget investments.

This commit is contained in:
Senén Rodero Rodríguez
2017-06-20 13:28:50 +02:00
parent 673fc66011
commit 515d6d7e70
12 changed files with 24 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
class RenameImageDescriptionToImageTitleOnBudgetInvestments < ActiveRecord::Migration
def change
rename_column :budget_investments, :image_description, :image_title
end
end

View File

@@ -165,7 +165,7 @@ ActiveRecord::Schema.define(version: 20170918231410) do
t.string "image_content_type"
t.integer "image_file_size"
t.datetime "image_updated_at"
t.string "image_description"
t.string "image_title"
end
add_index "budget_investments", ["administrator_id"], name: "index_budget_investments_on_administrator_id", using: :btree