class AddPropertiesToPosts

Public Instance Methods

change() click to toggle source
# File lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb, line 2
def change
  execute 'CREATE EXTENSION IF NOT EXISTS hstore'
  add_column :posts, :properties, :hstore
end