1 2 3 4 5 6 7 8 9 10 11 12
# -*- encoding : utf-8 -*- class AddAboutMe < ActiveRecord::Migration def self.up add_column :users, :about_me, :text, :null => false, :default => "" end def self.down raise "No reverse migration" #remove_column :users, :about_me end end