All pastes #189726 Raw Edit

Anonymous

public ruby v1 · immutable
·published 2006-10-03 11:40 UTC
rendered paste body
class AddPrice < ActiveRecord::Migrationdef self.upadd_column :products, :price, :decimal, :precision => 8, :scale => 2, :default => 0enddef self.downremove_column :products, :priceendend