Sha256: 04c7d84519da909d5bd73b9111d499ee1738cb963b0574965910f29ff792e9aa

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

class AddAttachmentAvatarToAssets < ActiveRecord::Migration
  def self.up
    change_table :assets do |t|
      t.attachment :avatar
    end
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150422135600_add_attachment_avatar_to_assets.rb
pshq_engine-0.1.5 db/migrate/20150422135600_add_attachment_avatar_to_assets.rb
pshq_engine-0.0.1 db/migrate/20150422135600_add_attachment_avatar_to_assets.rb