mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 23:45:42 +03:00
b3401785b2
* feat: add default SRID support
22 lines
725 B
Bash
Executable File
22 lines
725 B
Bash
Executable File
#!/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/table_source_multiple_geom.sql
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/function_source.sql
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/function_source_query_params.sql
|
|
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points1_source.sql
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points2_source.sql
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points3857_source.sql
|
|
psql --dbname="$POSTGRES_DB" -f /fixtures/points_empty_srid_source.sql
|