-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pg_cron extension in the tiler db
- Loading branch information
Showing
5 changed files
with
7 additions
and
32 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
# Add hstore into the DB | ||
# Add hstore and pg_cron into the DB | ||
for DB in template_postgis "$POSTGRES_DB" "${@}"; do | ||
echo "Updating extensions '$DB'" | ||
psql --dbname="$DB" -c " | ||
CREATE EXTENSION IF NOT EXISTS hstore; | ||
CREATE EXTENSION IF NOT EXISTS pg_cron; | ||
" | ||
done |
This file was deleted.
Oops, something went wrong.
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
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