[openstreetmap/openstreetmap-website] Add counts for notes and diary comments to user profiles (#1774)

Štefan Baebler notifications at github.com
Mon Mar 26 07:36:09 UTC 2018


stefanb commented on this pull request.



> @@ -130,7 +123,7 @@ CREATE TYPE user_status_enum AS ENUM (
 
 CREATE FUNCTION maptile_for_point(bigint, bigint, integer) RETURNS integer
     LANGUAGE c STRICT
-    AS '$libdir/libpgosm', 'maptile_for_point';
+    AS '/srv/openstreetmap-website/db/functions/libpgosm.so', 'maptile_for_point';

These changes likely do not belong here, as they are the result of setting up your local environment.
Make the changes include only relevant lines (adding `notes_count` and `diary_comments_count` in `users` table). Not sure why this file gets so vastly different - i noticed this problem also while setting up my dev environment.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1774#pullrequestreview-106796544
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180326/11cfa167/attachment.html>


More information about the rails-dev mailing list