[openstreetmap/openstreetmap-website] A new foundation for user notifications (PR #6837)

Tom Hughes notifications at github.com
Wed Mar 11 14:11:13 UTC 2026


@tomhughes commented on this pull request.



> +  def primary_and_foreign_key_types
+    config = Rails.configuration.generators
+    setting = config.options[config.orm][:primary_key_type]
+    primary_key_type = setting || :primary_key
+    foreign_key_type = setting || :bigint
+    [primary_key_type, foreign_key_type]
+  end

That would be my inclination, yes.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6837#discussion_r2918627718
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6837/review/3929890854 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260311/fab4fc25/attachment.htm>


More information about the rails-dev mailing list