047_add_nickname_to_profile.rb 213 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class AddNicknameToProfile < ActiveRecord::Migration def self.up add_column :profiles, :nickname, :string, :null => true, :limit => 16 end def self.down remove_column :profiles, :nickname end end