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
|
2021-10-21 12:20:33 +03:00
|
|
|
|
2020-12-27 16:35:05 +03:00
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/table_source.sql
|
2021-10-21 12:20:33 +03:00
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/table_source_multiple_geom.sql
|
|
|
|
|
2020-12-27 16:35:05 +03:00
|
|
|
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
|
2021-10-10 12:09:56 +03:00
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points3857_source.sql
|
2022-02-13 15:43:52 +03:00
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points_empty_srid_source.sql
|