[openstreetmap/openstreetmap-website] Remove default values from id columns (PR #3469)
Andy Allan
notifications at github.com
Wed Feb 23 15:27:14 UTC 2022
In both the case of primary keys, and also foreign key references, there's no need to set a default value.
This doesn't have a big impact in routine situations, but can be very confusing when debugging corner cases.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3469
-- Commit Summary --
* Remove default values from id columns
-- File Changes --
A db/migrate/20220223140543_remove_id_defaults.rb (13)
M db/structure.sql (13)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3469.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3469.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3469
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3469 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220223/15da8b66/attachment.htm>
More information about the rails-dev
mailing list