Sha256: e55e56011ae26e2c4275a11b47dec7aef173274c963f2f4a208ebdeaf1d29f5f
Contents?: true
Size: 376 Bytes
Versions: 5
Compression:
Stored size: 376 Bytes
Contents
class AddPhotoToUser < ActiveRecord::Migration def self.up add_column :users, :photo_file_name, :string add_column :users, :photo_content_type, :string add_column :users, :photo_file_size, :integer end def self.down remove_column :users, :photo_file_name remove_column :users, :photo_content_type remove_column :users, :photo_file_size end end
Version data entries
5 entries across 5 versions & 1 rubygems