[openstreetmap/openstreetmap-website] Add creation_address column to users (PR #5182)

Tom Hughes notifications at github.com
Tue Sep 10 18:20:43 UTC 2024


This is a properly typed and indexed column that is intended to replace creation_ip to allow fast queries.

A future PR will migrate existing data and update the site to use the new field after which the old one can be dropped.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5182

-- Commit Summary --

  * Add creation_address column to users

-- File Changes --

    M app/controllers/users_controller.rb (1)
    M app/models/user.rb (2)
    A db/migrate/20240910175616_add_user_creation_address.rb (8)
    M db/structure.sql (11)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5182.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5182.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5182 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240910/43ae384b/attachment.htm>


More information about the rails-dev mailing list