[openstreetmap/openstreetmap-website] Add hide/show selection for contribution heatmap on edit profile page (PR #5853)
Tom Hughes
notifications at github.com
Thu Dec 18 12:19:51 UTC 2025
@tomhughes 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
Specifically that changed with [Postgres 11](https://www.postgresql.org/docs/release/11.0/):
> Many other useful performance improvements, including the ability to avoid a table rewrite for ALTER TABLE ... ADD COLUMN with a non-null column default
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5853#discussion_r2630837763
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5853/review/3592655647 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251218/48360fae/attachment.htm>
More information about the rails-dev
mailing list