1 2 3 4 5 6 7 8 9
class PeopleHaveHobbies < ActiveRecord::Migration::Current def self.up add_column "people", "hobbies", :text end def self.down remove_column "people", "hobbies" end end