Sha256: 043dde9ef97007c244e5dc04f332ec87b5b0d88f39c19fdfa0a264edd874f721

Contents?: true

Size: 169 Bytes

Versions: 3

Compression:

Stored size: 169 Bytes

Contents

class AddPictureToUser < ActiveRecord::Migration
  def self.up
    add_attachment :users, :avatar
  end

  def self.down
    remove_attachment :users, :avatar
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150302100542_add_picture_to_user.rb
pshq_engine-0.1.5 db/migrate/20150302100542_add_picture_to_user.rb
pshq_engine-0.0.1 db/migrate/20150302100542_add_picture_to_user.rb