2020-04-19 09:10:31 -07:00
|
|
|
class AddAttachmentProfilePictureToUsers < ActiveRecord::Migration[4.2]
|
2014-12-29 01:18:12 -08:00
|
|
|
def self.up
|
|
|
|
change_table :users do |t|
|
|
|
|
t.attachment :profile_picture
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_attachment :users, :profile_picture
|
|
|
|
end
|
|
|
|
end
|