Last Updated: February 25, 2016
·
988
· 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