Skip to content

Commit

Permalink
Merge pull request #54 from migurski/remove-apidb-nearby-column
Browse files Browse the repository at this point in the history
Removed reference to users.nearby column
  • Loading branch information
migurski authored Mar 8, 2020
2 parents 9cfb8a0 + fecbd8f commit 4732a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ?";

Expand Down
1 change: 0 additions & 1 deletion package/script/contrib/apidb_0.6.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4732a7e

Please sign in to comment.