Functional tests now work properly, bearing in mind whether a user is logged in or...
[depot.git] / db / migrate / 20090202160745_add_price_to_product.rb
1 class AddPriceToProduct < ActiveRecord::Migration
2 def self.up
3 add_column :products, :price, :decimal,
4 :precision => 8, :scale => 2, :default => 0
5 end
6
7 def self.down
8 remove_column :products, :price
9 end
10 end