Lazy attributes and partial updates
[railsex.git] / test / db / migrate / 002_add_stuff_to_person.rb
blobc92dab22400e048964d10198f1dca1c5d87eb97e
1 class AddStuffToPerson < ActiveRecord::Migration
2   def self.up
3     add_column :people, :bio, :text
4     add_column :people, :history, :text
5   end
7   def self.down
8     remove_column :people, :history
9     remove_column :people, :bio
10   end
11 end