X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/bc2624411464260f0eb7b2b0c7e4ad1d7ae63393..a7e26e8f595eacb118abfe7ee0eaa3df4842e880:/docs/admin/Migration.md diff --git a/docs/admin/Migration.md b/docs/admin/Migration.md index 2cc0b80b..42aac9e7 100644 --- a/docs/admin/Migration.md +++ b/docs/admin/Migration.md @@ -6,6 +6,22 @@ to newer versions of Nominatim. SQL statements should be executed from the postgres commandline. Execute `psql nominiatim` to enter command line mode. + +## 3.2.0 -> master + +### Natural Earth country boundaries no longer needed as fallback + +``` +DROP TABLE country_naturalearthdata; +``` + +Finally, update all SQL functions: + +```sh +./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions +``` + + ## 3.1.0 -> 3.2.0 ### New reverse algorithm @@ -39,12 +55,18 @@ GRANT SELECT ON table country_osm_grid to "www-user"; Replace the `www-user` with the user name of your website server if necessary. -Finally, you can drop the now unused indexes: +You can now drop the unused indexes: ``` DROP INDEX idx_placex_reverse_geometry; ``` +Finally, update all SQL functions: + +```sh +./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions +``` + ## 3.0.0 -> 3.1.0 ### Postcode Table