mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #5308 from bill2004158/master
fix error "extension "hstore" already exists"
This commit is contained in:
commit
ef0f6f5b97
@ -74,8 +74,8 @@ echo "Creating PostgreSQL databases..."
|
|||||||
psql -d postgres -c "ALTER USER vagrant WITH PASSWORD 'password';"
|
psql -d postgres -c "ALTER USER vagrant WITH PASSWORD 'password';"
|
||||||
psql -d postgres -c "create database discourse_development owner vagrant encoding 'UTF8' TEMPLATE template0;"
|
psql -d postgres -c "create database discourse_development owner vagrant encoding 'UTF8' TEMPLATE template0;"
|
||||||
psql -d postgres -c "create database discourse_test owner vagrant encoding 'UTF8' TEMPLATE template0;"
|
psql -d postgres -c "create database discourse_test owner vagrant encoding 'UTF8' TEMPLATE template0;"
|
||||||
psql -d discourse_development -c "CREATE EXTENSION hstore;"
|
psql -d discourse_development -c "CREATE EXTENSION IF NOT EXISTS hstore;"
|
||||||
psql -d discourse_development -c "CREATE EXTENSION pg_trgm;"
|
psql -d discourse_development -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
|
||||||
|
|
||||||
## Start Redis (Redis was installed by Homebrew using `brew bundle`) ##
|
## Start Redis (Redis was installed by Homebrew using `brew bundle`) ##
|
||||||
echo "Loading Redis..."
|
echo "Loading Redis..."
|
||||||
|
Loading…
Reference in New Issue
Block a user