Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

migration to add the properties column

By: a guest on Sep 19th, 2012  |  syntax: None  |  size: 0.13 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class AddPropertiesToProducts < ActiveRecord::Migration
  2.   def change
  3.     add_column :products, :properties, :hstore
  4.   end
  5. end
clone this paste RAW Paste Data