Skip to content
Snippets Groups Projects
Commit fbc6330e authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

migration to add avatar to institutions

parent 99bfc716
No related branches found
No related tags found
No related merge requests found
class AddAttachmentAvatarToInstitutions < ActiveRecord::Migration
def self.up
change_table :institutions do |t|
t.attachment :avatar
end
end
def self.down
remove_attachment :institutions, :avatar
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment