Commit graph

9 commits

Author SHA1 Message Date
Tom Hughes
83ce0535e1 Use postgres 14 for docker 2023-11-02 08:59:57 +00:00
Andy Allan
479c1575e1 Remove tile_for_point SQL functions
This removes both the pl/pgsql version and the shared library version
of the `tile_for_point` SQL function. This function was only used in some
old migrations, and is not required for production usage.

Removing this function simplifies the installation and configuration for
new developers.

These SQL functions are separate from the `tile_for_point` ruby/C function
which is part of the quad_tile gem. This function is still used when
creating and updating database records.

Fixes #3110.
2022-12-07 17:22:50 +00:00
Andy Allan
6c5c36deac Automatically enable the btree_gist extension
This simplifies the install instructions. Loading from structure.sql is already handled.
2021-03-10 18:24:36 +00:00
Michal Migurski
87c62fec3b Added note about password and privileges for OSM DB user 2021-02-12 22:56:17 -08:00
Michal Migurski
75caec40a5 Moved osm-db-functions.sql to /usr/local/share/ 2021-02-12 22:56:17 -08:00
Michal Migurski
033c3b28b3 Added complete Rails test suite
- Added db/functions/functions.sql to docker-compose DB image
- Added `file`, `libgd-dev`, and `unzip` packages to help tests pass
2021-01-28 12:03:58 -08:00
Michal Migurski
c17cb84b46 Replaced raw PGSQL testing file with Osmosis-driven XML file 2021-01-28 12:03:58 -08:00
Michal Migurski
b635cf6bc9 Added API read to docker-compose test 2021-01-28 12:03:58 -08:00
Jamie Alessio
c514fd62fe Introduce docker-compose config for development 2021-01-28 12:03:58 -08:00