Skip to content

Commit

Permalink
add product.price migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 19, 2010
1 parent 7d7b7db commit cec3864
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions depot/db/migrate/20100119100141_add_price_to_product.rb
@@ -0,0 +1,9 @@
class AddPriceToProduct < ActiveRecord::Migration
def self.up
add_column :products, :price, :decimal
end

def self.down
remove_column :products, :price
end
end

0 comments on commit cec3864

Please sign in to comment.