blob: 1a863367dde1d9bf26643b7d10c41ef21d8f6b5e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class PeopleHaveHobbies < ActiveRecord::Migration::Current
def self.up
add_column "people", "hobbies", :string
end
def self.down
remove_column "people", "hobbies"
end
end
|