Skip to content

Instantly share code, notes, and snippets.

Forked from tddium/tddium.rake
Created June 27, 2012 06:33
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Installing hstore extension in Postgresql 9.1 database for Tddium
# Copyright (c) 2011, 2012 Solano Labs All Rights Reserved
namespace :tddium do
desc "load database extensions"
task :db_hook do
Kernel.system("psql #{ENV['TDDIUM_DB_NAME']} -c 'CREATE EXTENSION hstore;'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment