Last Updated: February 25, 2016
·
984
· fr4nktic

Enable hstore via migration

class EnableHstore < ActiveRecord::Migration
  def self.up
    execute 'CREATE EXTENSION hstore'
  end

  def self.down
    execute 'DROP EXTENSION hstore'
  end
end