[openstreetmap/openstreetmap-website] Add hide/show selection for contribution heatmap on edit profile page (PR #5853)
Pablo Brasero
notifications at github.com
Thu Dec 18 12:04:55 UTC 2025
@pablobm commented on this pull request.
> @@ -0,0 +1,5 @@
+class AddShowContributionHeatmapToUsers < ActiveRecord::Migration[7.2]
+ def change
+ add_column :users, :show_contribution_heatmap, :boolean, :default => true, :null => false
In case anyone reads this in the future: it appears that this used to be an issue, as Postgres would lock the table to fill in all the default values. This is not the case any more.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5853#discussion_r2630789136
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5853/review/3592576040 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251218/8e47d62b/attachment.htm>
More information about the rails-dev
mailing list