cirandas.net

ref: master

db/migrate/20100619031945_add_highlighted_to_product.rb


1
2
3
4
5
6
7
8
9
class AddHighlightedToProduct < ActiveRecord::Migration
  def self.up
    add_column :products, :highlighted, :boolean
  end

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