@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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to