-
-
Save tehpeh/3001977 to your computer and use it in GitHub Desktop.
Installing hstore extension in Postgresql 9.1 database for Tddium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2011, 2012 Solano Labs All Rights Reserved | |
namespace :tddium do | |
desc "load database extensions" | |
task :db_hook do | |
Rake::Task["db:create"].invoke | |
Kernel.system("psql #{ENV['TDDIUM_DB_NAME']} -c 'CREATE EXTENSION hstore;'") | |
Rake::Task["tddium:default_db_hook"].invoke | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment