Add image to budget investments.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
f2e44f0730
commit
7b88e63136
@@ -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
|
||||
Reference in New Issue
Block a user