Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

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  |  QR code  |  clone
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