Redid up to end of Chapter 6 under Rails2.2.2 and Gems 1.3.1, with Product.date_available
[depot.git] / db / migrate / 20090202160925_add_date_available_to_product.rb
1 class AddDateAvailableToProduct < ActiveRecord::Migration
2 def self.up
3 add_column :products, :date_available, :date
4 end
5
6 def self.down
7 remove_column :products, :date_available
8 end
9 end