2020-12-27 16:35:05 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Perform all actions as $POSTGRES_USER
|
|
|
|
export PGUSER="$POSTGRES_USER"
|
|
|
|
|
|
|
|
echo "Loading Martin fixtures into $POSTGRES_DB"
|
|
|
|
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/TileBBox.sql
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/table_source.sql
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/function_source.sql
|
2021-07-16 12:09:18 +03:00
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/function_source_query_params.sql
|
2021-04-24 20:19:37 +03:00
|
|
|
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points1_source.sql
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points2_source.sql
|