Add image to budget investments.

This commit is contained in:
taitus
2017-06-12 19:33:26 +02:00
committed by Senén Rodero Rodríguez
parent f2e44f0730
commit 7b88e63136
7 changed files with 33 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
class AddAttachmentImageToBudgetInvestments < ActiveRecord::Migration
def self.up
change_table :budget_investments do |t|
t.attachment :image
end
end
def self.down
remove_attachment :budget_investments, :image
end
end