From fecbd8f15776a8e0d4eb16d47275e31c045d801f Mon Sep 17 00:00:00 2001 From: Michal Migurski Date: Tue, 18 Feb 2020 09:07:59 -0800 Subject: [PATCH] Removed reference to users.nearby column users.nearby was removed from the OSM API DB schema in December 2019: https://github.com/openstreetmap/openstreetmap-website/pull/2439 --- .../openstreetmap/osmosis/apidb/v0_6/impl/UserManager.java | 4 ++-- package/script/contrib/apidb_0.6.sql | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/osmosis-apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/impl/UserManager.java b/osmosis-apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/impl/UserManager.java index e18983473..7a19c4930 100644 --- a/osmosis-apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/impl/UserManager.java +++ b/osmosis-apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/impl/UserManager.java @@ -25,8 +25,8 @@ public class UserManager implements Closeable { private static final String INSERT_SQL_USER = "INSERT INTO users (id, email, pass_crypt," + " creation_time, display_name, data_public, description, home_lat, home_lon, home_zoom," - + " nearby, pass_salt) VALUES (?, ?, '00000000000000000000000000000000', NOW(), ?, ?," - + " ?, 0, 0, 3, 50, '00000000')"; + + " pass_salt) VALUES (?, ?, '00000000000000000000000000000000', NOW(), ?, ?," + + " ?, 0, 0, 3, '00000000')"; private static final String UPDATE_SQL_USER = "UPDATE users SET display_name = ? WHERE id = ?"; diff --git a/package/script/contrib/apidb_0.6.sql b/package/script/contrib/apidb_0.6.sql index ef88ab833..a352891cb 100644 --- a/package/script/contrib/apidb_0.6.sql +++ b/package/script/contrib/apidb_0.6.sql @@ -2756,7 +2756,6 @@ CREATE TABLE users ( home_lat double precision, home_lon double precision, home_zoom smallint DEFAULT 3, - nearby integer DEFAULT 50, pass_salt character varying(255), image text, email_valid boolean DEFAULT false NOT NULL,