Last active
December 14, 2015 12:28
-
-
Save FerPerales/5086378 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# A small script to install hstore module in Ubuntu | |
# Dependencies: | |
# | |
# * Please make sure you have installed postgres-contrib package | |
# | |
# How to customize this script: | |
# | |
# * Modify the path (you may require to change the postresql version) | |
# * If you are not using the default postgresql username and password, | |
# * change it (default username is postgres and no password) | |
# | |
sudo apt-get install postgresql-contrib | |
cd /usr/share/postgresql/9.1/extension | |
psql -U postgres -d store_development -f hstore.sql | |
psql -U postgres -d store_test -f hstore.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment