Added date_available_from to products, updated conditions in product.find_products_fo...
[depot.git] / db / migrate / 20090226212213_add_date_avilable_until_to_product.rb
1 class AddDateAvilableUntilToProduct < ActiveRecord::Migration
2 def self.up
3 add_column :products, :date_available_until, :date
4 Product.reset_column_information
5 end
6
7 def self.down
8 remove_column :products, :date_available_until
9 end
10 end